Class: BitClust::LineCollector
- Inherits:
-
LineFilter
- Object
- LineFilter
- BitClust::LineCollector
- Defined in:
- lib/bitclust/preprocessor.rb
Overview
Used by tools/stattodo.rb
Class Method Summary collapse
Methods inherited from LineFilter
Methods included from ParseUtils
Constructor Details
This class inherits a constructor from BitClust::LineFilter
Class Method Details
.process(path) ⇒ Object
310 311 312 313 314 |
# File 'lib/bitclust/preprocessor.rb', line 310 def LineCollector.process(path) fopen(path) {|f| return wrap(f).to_a } end |
.wrap(f) ⇒ Object
316 317 318 |
# File 'lib/bitclust/preprocessor.rb', line 316 def LineCollector.wrap(f) new(LineStream.new(f)) end |