Class: Buffer
- Inherits:
-
Object
- Object
- Buffer
- Defined in:
- lib/buffer.rb,
lib/buffer/version.rb,
ext/buffer/buffer.c
Defined Under Namespace
Classes: BufferPayload
Constant Summary collapse
- VERSION =
'0.0.1'
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Class Method Summary collapse
Instance Method Summary collapse
- #bytes ⇒ Object
- #clear ⇒ Object
- #initialize ⇒ Object constructor
- #resize ⇒ Object
- #size ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Object
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/buffer.rb', line 4 def data @data end |