Module: Rublox::Derive::Model
- Included in:
- User, Models::Presence
- Defined in:
- lib/rublox/derive/model.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Boolean
12 13 14 |
# File 'lib/rublox/derive/model.rb', line 12 def ==(other) @id == other.id end |
#to_s ⇒ String
7 8 9 |
# File 'lib/rublox/derive/model.rb', line 7 def to_s "#<#{self.class} of ID #{@id}>" end |