Sha256: 4039f30e973e79b5e5d472708332f9ebdd4193b575683ee3969d2981642a83f4

Contents?: true

Size: 129 Bytes

Versions: 9

Compression:

Stored size: 129 Bytes

Contents

class Enumerator
  def ===(other)
    if other.is_a?(Enumerable)
      to_a == other.to_a
    else
      super
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hallon-0.18.2 spec/support/enumerable_comparison.rb
hallon-0.18.1 spec/support/enumerable_comparison.rb
hallon-0.18.0 spec/support/enumerable_comparison.rb
hallon-0.17.0 spec/support/enumerable_comparison.rb
hallon-0.16.0 spec/support/enumerable_comparison.rb
hallon-0.15.0 spec/support/enumerable_comparison.rb
hallon-0.14.0 spec/support/enumerable_comparison.rb
hallon-0.13.0 spec/support/enumerable_comparison.rb
hallon-0.12.0 spec/support/enumerable_comparison.rb