class Dread::Runner
Attributes
argf[R]
Public Class Methods
new(argf)
click to toggle source
# File lib/dread/runner.rb, line 5 def initialize(argf) @argf = argf end
Public Instance Methods
run!()
click to toggle source
# 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
Private Instance Methods
comment?(line)
click to toggle source
# File lib/dread/runner.rb, line 21 def comment?(line) line =~ /^#/ end