When I try to use chomp to get user input, I get this error:

private method `chomp' called for nil:NilClass (NoMethodError)

        from d:/scripts/ruby/fix1.rb:82:in `run'
        from d:/scripts/ruby/fix1.rb:128

When I use it in irb, however it works.  Anyone have any ideas what I
might be missing here?
Thanks....
-- 
Posted via http://www.ruby-forum.com/.