diff --git a/lib/hydra/stdio.rb b/lib/hydra/stdio.rb new file mode 100644 index 0000000..e2bd789 --- /dev/null +++ b/lib/hydra/stdio.rb @@ -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 +