Sha256: c1e791cac40c3505663999c69e27a41cf89de63ec6cb052d16064f82301f914d

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

module Rednode::Bindings
  class Stdio

    def isStdoutBlocking(*a)
      true
    end

    def writeError
      lambda do |msg|
        $stderr.write(msg)
      end
    end
    
    def stdoutFD
      STDOUT
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rednode-0.1.2 lib/rednode/bindings/stdio.rb
rednode-0.1.1 lib/rednode/bindings/stdio.rb
rednode-0.1.0 lib/rednode/bindings/stdio.rb