module Rascal::IOHelper
Attributes
stderr[RW]
stdin[RW]
stdout[RW]
Public Class Methods
setup()
click to toggle source
# File lib/rascal/io_helper.rb, line 6 def setup @stdout = $stdout @stderr = $stderr @stdin = $stdin end
Public Instance Methods
say(message)
click to toggle source
# File lib/rascal/io_helper.rb, line 14 def say(message) stdout.puts(message) end
stderr()
click to toggle source
# File lib/rascal/io_helper.rb, line 22 def stderr IOHelper.stderr end
stdin()
click to toggle source
# File lib/rascal/io_helper.rb, line 26 def stdin IOHelper.stdin end
stdout()
click to toggle source
# File lib/rascal/io_helper.rb, line 18 def stdout IOHelper.stdout end