Sha256: b26c5c84d7a0efab0ec1920f08dc0e12a6ac4a7fc278bf4791e2dbc5049eb8d1
Contents?: true
Size: 419 Bytes
Versions: 12
Compression:
Stored size: 419 Bytes
Contents
module Rascal module IOHelper class << self attr_accessor :stdout, :stdin, :stderr def setup @stdout = $stdout @stderr = $stderr @stdin = $stdin end end setup def say(message) stdout.puts(message) end def stdout IOHelper.stdout end def stderr IOHelper.stderr end def stdin IOHelper.stdin end end end
Version data entries
12 entries across 12 versions & 1 rubygems