Sha256: f72d99b86f8df41852e7051edb6dacfd225c5c4364f74915c2fec004514fbea8

Contents?: true

Size: 232 Bytes

Versions: 11

Compression:

Stored size: 232 Bytes

Contents

module Enumerable
  def reverse_each(&block)
    return to_enum(:reverse_each) unless block_given?

    # There is no other way then to convert to an array first... see 1.9's source.
    to_a.reverse_each(&block)
    self
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
motion-support-1.2.1 motion/_stdlib/enumerable.rb
motion-support-1.1.1 motion/_stdlib/enumerable.rb
motion-support-1.2.0 motion/_stdlib/enumerable.rb
motion-support-1.1.0 motion/_stdlib/enumerable.rb
motion-support-1.0.0 motion/_stdlib/enumerable.rb
motion-support-0.3.0 motion/_stdlib/enumerable.rb
motion_blender-support-0.2.8 motion/_stdlib/enumerable.rb
motion_blender-support-0.2.7 motion/_stdlib/enumerable.rb
motion-support-0.2.6 motion/_stdlib/enumerable.rb
motion-support-0.2.5 motion/_stdlib/enumerable.rb
motion-support-0.2.4 motion/_stdlib/enumerable.rb