Ruby does not define a `fold` method.