Class: SimpleRecord::ResultsArray
- Inherits:
-
Object
- Object
- SimpleRecord::ResultsArray
- Defined in:
- lib/orm_adapter-simple_record/simple_record.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/orm_adapter-simple_record/simple_record.rb', line 3 def ==(other) case other when nil then false when Array then self.to_a == other else self == other end end |