Class: Trenni::FileBuffer
- Inherits:
-
Object
- Object
- Trenni::FileBuffer
- Defined in:
- lib/trenni/buffer.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ FileBuffer
constructor
A new instance of FileBuffer.
- #read ⇒ Object
- #to_buffer ⇒ Object
Constructor Details
#initialize(path) ⇒ FileBuffer
Returns a new instance of FileBuffer.
48 49 50 |
# File 'lib/trenni/buffer.rb', line 48 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
52 53 54 |
# File 'lib/trenni/buffer.rb', line 52 def path @path end |