class Array
XXX: TEMPORARY/UGLY hack to ensure that arrays and structs compare. This can be removed once tests are rewritten.
Public Instance Methods
==(o)
click to toggle source
# File lib/bud/monkeypatch.rb, line 87 def ==(o) o = o.to_a if o.kind_of? Bud::TupleStruct self.old_eq(o) end
Also aliased as: old_eq
eql?(o)
click to toggle source
# File lib/bud/monkeypatch.rb, line 92 def eql?(o) o = o.to_a if o.kind_of? Bud::TupleStruct self.old_eql?(o) end
Also aliased as: old_eql?