Class: Watchr::Script::Batch
- Inherits:
-
Object
- Object
- Watchr::Script::Batch
- Defined in:
- lib/watchr/script.rb
Instance Method Summary collapse
- #call(data, event, path) ⇒ Object
- #deliver ⇒ Object
-
#initialize(rule) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(rule) ⇒ Batch
Returns a new instance of Batch.
23 24 25 26 27 |
# File 'lib/watchr/script.rb', line 23 def initialize rule @timer = nil @rule = rule @events = [] end |