Class: Metacosm::Event
- Inherits:
-
Object
- Object
- Metacosm::Event
- Includes:
- PassiveRecord
- Defined in:
- lib/metacosm.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
32 33 34 |
# File 'lib/metacosm.rb', line 32 def ==(other) attrs == other.attrs end |
#attrs ⇒ Object
28 29 30 |
# File 'lib/metacosm.rb', line 28 def attrs to_h.keep_if { |k,_| k != :id } end |