Class: FilterIO::BlockState

Inherits:
Object
  • Object
show all
Defined in:
lib/filter_io.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bofObject (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

#eofObject (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