Class: Relayer::Event::Event
- Inherits:
-
Object
- Object
- Relayer::Event::Event
- Defined in:
- lib/relayer/event/event.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
Instance Attribute Details
#time ⇒ Object
Returns the value of attribute time.
2 3 4 |
# File 'lib/relayer/event/event.rb', line 2 def time @time end |
Instance Method Details
#time! ⇒ Object
4 5 6 |
# File 'lib/relayer/event/event.rb', line 4 def time! @time = Time.now end |