Class: Wonkavision::EventContext
- Inherits:
-
Object
- Object
- Wonkavision::EventContext
- Defined in:
- lib/wonkavision/event_context.rb
Instance Attribute Summary collapse
-
#binding ⇒ Object
Returns the value of attribute binding.
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#data ⇒ Object
Returns the value of attribute data.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(data, path, binding, callback) ⇒ EventContext
constructor
A new instance of EventContext.
Constructor Details
#initialize(data, path, binding, callback) ⇒ EventContext
Returns a new instance of EventContext.
5 6 7 |
# File 'lib/wonkavision/event_context.rb', line 5 def initialize(data,path,binding,callback) @data, @path, @binding, @callback = data, path, binding, callback end |
Instance Attribute Details
#binding ⇒ Object
Returns the value of attribute binding.
3 4 5 |
# File 'lib/wonkavision/event_context.rb', line 3 def binding @binding end |
#callback ⇒ Object
Returns the value of attribute callback.
3 4 5 |
# File 'lib/wonkavision/event_context.rb', line 3 def callback @callback end |
#data ⇒ Object
Returns the value of attribute data.
3 4 5 |
# File 'lib/wonkavision/event_context.rb', line 3 def data @data end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/wonkavision/event_context.rb', line 3 def path @path end |