Class: BitClust::LineStream
Overview
Provides line-wise access to a file with :file and :line. Used by Preprocessor
Instance Method Summary collapse
- #gets ⇒ Object
-
#initialize(f) ⇒ LineStream
constructor
A new instance of LineStream.
Constructor Details
#initialize(f) ⇒ LineStream
Returns a new instance of LineStream.
22 23 24 |
# File 'lib/bitclust/parseutils.rb', line 22 def initialize(f) @f = f end |