Permalink
Browse files

IO needs a flush method to make system command output capture happy

  • Loading branch information...
deadprogram committed May 6, 2012
1 parent 4336783 commit 75040b4f8b898845e819decc4695fd7b218adfb5
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/kidsruby/stdio.rb
View
@@ -20,6 +20,8 @@ def simple_textilize(text)
# Or simple_format from actionpack/lib/action_view/helpers/text_helper.rb
text.gsub(/\n/,"<br/>")
end
+
+ def flush; end
end
class StdOut < KidsRubyStdIo

0 comments on commit 75040b4

Please sign in to comment.