Module: IO::Readable

Defined in:
opal/opal/corelib/io.rb

Instance Method Summary collapse

Instance Method Details

#readbyteObject



55
56
57
# File 'opal/opal/corelib/io.rb', line 55

def readbyte
  getbyte
end

#readcharObject



59
60
61
# File 'opal/opal/corelib/io.rb', line 59

def readchar
  getc
end

#readline(sep = $/) ⇒ Object



63
64
65
# File 'opal/opal/corelib/io.rb', line 63

def readline(sep = $/)
  raise NotImplementedError
end

#readpartial(integer, outbuf = nil) ⇒ Object



67
68
69
# File 'opal/opal/corelib/io.rb', line 67

def readpartial(integer, outbuf = nil)
  raise NotImplementedError
end