Class: DogEventer::EventEmitter

Inherits:
Object
  • Object
show all
Defined in:
lib/dogeventer/event_emitter.rb

Direct Known Subclasses

ChefRun, NagiosCheck, PingdomCheck

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#eventsObject (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