Class: Rednode::Bindings::Stdio

Inherits:
Object
  • Object
show all
Defined in:
lib/rednode/bindings/stdio.rb

Instance Method Summary collapse

Instance Method Details

#isStdoutBlocking(*a) ⇒ Object



4
5
6
# File 'lib/rednode/bindings/stdio.rb', line 4

def isStdoutBlocking(*a)
  true
end

#stdoutFDObject



14
15
16
# File 'lib/rednode/bindings/stdio.rb', line 14

def stdoutFD
  STDOUT
end

#writeErrorObject



8
9
10
11
12
# File 'lib/rednode/bindings/stdio.rb', line 8

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