bin/linesub in tefil-0.0.2 vs bin/linesub in tefil-0.0.3

- old
+ new

@@ -17,11 +17,11 @@ op.parse!(ARGV) OLD_PATTERN = ARGV.shift NEW_STR = ARGV.shift -module TextFilter +module Tefil def self.process_stream(in_io, out_io) in_io.each do |line| if OPTIONS[:global] out_io.puts line.gsub(OLD_PATTERN, NEW_STR) else @@ -31,6 +31,6 @@ end end OPTIONS[:overwrite] ||= false -TextFilter.run(ARGV, OPTIONS[:overwrite]) +Tefil.run(ARGV, OPTIONS[:overwrite])