Class: Whacamole::Events::Event
- Inherits:
-
Object
- Object
- Whacamole::Events::Event
- Defined in:
- lib/whacamole/events.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#process ⇒ Object
Returns the value of attribute process.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(attributes = {}) ⇒ Event
Returns a new instance of Event.
6 7 8 9 10 |
# File 'lib/whacamole/events.rb', line 6 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) end end |
Instance Attribute Details
#process ⇒ Object
Returns the value of attribute process.
4 5 6 |
# File 'lib/whacamole/events.rb', line 4 def process @process end |