Class: FilterIO::BlockState
- Inherits:
-
Object
- Object
- FilterIO::BlockState
- Defined in:
- lib/filter_io.rb
Instance Attribute Summary collapse
-
#bof ⇒ Object
(also: #bof?)
readonly
Returns the value of attribute bof.
-
#eof ⇒ Object
(also: #eof?)
readonly
Returns the value of attribute eof.
Instance Method Summary collapse
-
#initialize(bof, eof) ⇒ BlockState
constructor
A new instance of BlockState.
Constructor Details
#initialize(bof, eof) ⇒ BlockState
Returns a new instance of BlockState.
9 10 11 12 |
# File 'lib/filter_io.rb', line 9 def initialize(bof, eof) @bof = bof @eof = eof end |
Instance Attribute Details
#bof ⇒ Object (readonly) Also known as: bof?
Returns the value of attribute bof.
8 9 10 |
# File 'lib/filter_io.rb', line 8 def bof @bof end |
#eof ⇒ Object (readonly) Also known as: eof?
Returns the value of attribute eof.
8 9 10 |
# File 'lib/filter_io.rb', line 8 def eof @eof end |