Skip to content
Browse files

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

  • Loading branch information...
1 parent 4336783 commit 75040b4f8b898845e819decc4695fd7b218adfb5 @deadprogram deadprogram committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/kidsruby/stdio.rb
View
2 lib/kidsruby/stdio.rb
@@ -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.
Something went wrong with that request. Please try again.