class Class::IOWriter

Public Class Methods

new(io) click to toggle source
# File lib/gherkin/native/java.rb, line 3
def initialize(io)
  @io = io
end

Public Instance Methods

close() click to toggle source
# File lib/gherkin/native/java.rb, line 15
def close
  @io.close
end
flush() click to toggle source
# File lib/gherkin/native/java.rb, line 11
def flush
  @io.flush
end
write(cbuf, off, len) click to toggle source
# File lib/gherkin/native/java.rb, line 7
def write(cbuf, off, len)
  @io.write(cbuf.unpack("U*")[off..len].pack("U*"))
end