Class: Hydra::Stdio
Overview
Read and write via stdout and stdin.
Instance Method Summary collapse
-
#initialize ⇒ Stdio
constructor
Initialize new Stdio.
Methods included from MessagingIO
Constructor Details
#initialize ⇒ Stdio
Initialize new Stdio
8 9 10 11 12 13 |
# File 'lib/hydra/stdio.rb', line 8 def initialize() @reader = $stdin @writer = $stdout @reader.sync = true @writer.sync = true end |