Browse files

qualify log

  • Loading branch information...
1 parent 4359950 commit 28ce85a8721ee4e34fccee429bb5d89a9b39c7e3 @rubys committed Oct 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gorp/output.rb
View
4 lib/gorp/output.rb
@@ -96,12 +96,12 @@
"<ul class=\"todos\">\n#{$todos.target!.gsub(/^/,' '*6)} </ul>"
$x.target!.gsub! '<strong/>', '<strong></strong>'
$x.target!.gsub! /(<textarea[^>]+)\/>/, '\1></textarea>'
- log :WRITE, Gorp.path("#{$output}.html")
+ Gorp.log :WRITE, Gorp.path("#{$output}.html")
open("#{$WORK}/#{$output}.html",'w') { |file| file.write $x.target! }
# run tests
if $checker
- log :CHECK, "#{$output}.html"
+ Gorp.log :CHECK, "#{$output}.html"
Dir.chdir $BASE
STDOUT.puts
if $checker.respond_to? :call

0 comments on commit 28ce85a

Please sign in to comment.