Class: Invoke
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Attributes inherited from Protocol
Instance Method Summary collapse
-
#initialize(event) ⇒ Invoke
constructor
A new instance of Invoke.
Methods inherited from Protocol
Constructor Details
#initialize(event) ⇒ Invoke
Returns a new instance of Invoke.
79 80 81 82 |
# File 'lib/cocaine/protocol.rb', line 79 def initialize(event) super RPC::INVOKE @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
77 78 79 |
# File 'lib/cocaine/protocol.rb', line 77 def event @event end |