Sha256: b65b123b1172de27753067387c8b1699318aa6c21dacef98a5f2eb47ed182b35

Contents?: true

Size: 304 Bytes

Versions: 62

Compression:

Stored size: 304 Bytes

Contents

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
      @reader.sync = true
      @writer.sync = true
    end
  end
end

Version data entries

62 entries across 62 versions & 8 rubygems

Version Path
ngauthier-hydra-0.24.0 lib/hydra/stdio.rb
nulogy-hydra-0.26.0 lib/hydra/stdio.rb
arturop-hydra-0.25.0 lib/hydra/stdio.rb
arturop-hydra-0.24.0 lib/hydra/stdio.rb
hydra-0.24.0 lib/hydra/stdio.rb
nulogy-hydra-0.23.2.1 lib/hydra/stdio.rb
justinf-hydra-0.23.8 lib/hydra/stdio.rb
justinf-hydra-0.23.7 lib/hydra/stdio.rb
justinf-hydra-0.23.6 lib/hydra/stdio.rb
justinf-hydra-0.23.5 lib/hydra/stdio.rb
justinf-hydra-0.23.4 lib/hydra/stdio.rb
arturop-hydra-0.23.4 lib/hydra/stdio.rb
sskirby-hydra-0.23.3 lib/hydra/stdio.rb
hydra-0.23.3 lib/hydra/stdio.rb
causes-hydra-0.21.0 lib/hydra/stdio.rb
hydra-0.23.2 lib/hydra/stdio.rb
hydra-0.23.1 lib/hydra/stdio.rb
hydra-0.23.0 lib/hydra/stdio.rb
hydra-0.22.2 lib/hydra/stdio.rb
hydra-0.22.1 lib/hydra/stdio.rb