Class: Chunk
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Attributes inherited from Protocol
Instance Method Summary collapse
-
#initialize(data) ⇒ Chunk
constructor
A new instance of Chunk.
Methods inherited from Protocol
Constructor Details
#initialize(data) ⇒ Chunk
Returns a new instance of Chunk.
94 95 96 97 |
# File 'lib/cocaine/protocol.rb', line 94 def initialize(data) super RPC::CHUNK @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
92 93 94 |
# File 'lib/cocaine/protocol.rb', line 92 def data @data end |