midway through making ssh workers

This commit is contained in:
Nick Gauthier 2010-01-29 17:22:03 -05:00
parent 727bdcf1b7
commit 35cf4cc8e5
1 changed files with 14 additions and 0 deletions

14
lib/hydra/stdio.rb Normal file
View File

@ -0,0 +1,14 @@
require 'hydra/messaging_io'
module Hydra #:nodoc:
# Read and write via stdout and stdin.
class Stdio
include Hydra::MessagingIO
# Initialize new Stdio
def initialize()
@reader = $stdin
@writer = $stdout
end
end
end