Class: Blinkman::Handler
- Inherits:
-
Object
- Object
- Blinkman::Handler
- Defined in:
- lib/blinkman/handler.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(action, event) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(action, event) ⇒ Handler
Returns a new instance of Handler.
4 5 6 7 |
# File 'lib/blinkman/handler.rb', line 4 def initialize(action, event) @action = action @event = event end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
3 4 5 |
# File 'lib/blinkman/handler.rb', line 3 def action @action end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
3 4 5 |
# File 'lib/blinkman/handler.rb', line 3 def event @event end |