Class: DogEventer::EventEmitter
- Inherits:
-
Object
- Object
- DogEventer::EventEmitter
- Defined in:
- lib/dogeventer/event_emitter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#events ⇒ Object
readonly
Returns the value of attribute events.
Instance Method Summary collapse
Instance Attribute Details
#events ⇒ Object (readonly)
Returns the value of attribute events.
3 4 5 |
# File 'lib/dogeventer/event_emitter.rb', line 3 def events @events end |
Instance Method Details
#wait(seconds) ⇒ Object
5 6 7 |
# File 'lib/dogeventer/event_emitter.rb', line 5 def wait(seconds) @start_time += seconds end |