Make haml --check work.

It wasn't properly requiring the stringio library.
This commit is contained in:
Nathan Weizenbaum 2008-04-17 17:24:50 -07:00
parent c89f22d3a4
commit 2cde69578d
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ END
end
opts.on('-c', '--check', "Just check syntax, don't evaluate.") do
require 'stringio'
@options[:check_syntax] = true
@options[:output] = StringIO.new
end