Class: Dread::Runner
- Inherits:
-
Object
- Object
- Dread::Runner
- Defined in:
- lib/dread/runner.rb
Instance Method Summary collapse
-
#initialize(argf) ⇒ Runner
constructor
A new instance of Runner.
- #run! ⇒ Object
Constructor Details
#initialize(argf) ⇒ Runner
Returns a new instance of Runner.
5 6 7 |
# File 'lib/dread/runner.rb', line 5 def initialize(argf) @argf = argf end |
Instance Method Details
#run! ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/dread/runner.rb', line 9 def run! argf.each_line do |line| next if comment?(line) t = TraceFactory.build(line) puts t #t.format_output if t end end |