Module: IO::Readable

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

Instance Method Summary collapse

Instance Method Details

#readbyteObject


50
51
52
# File 'opal/opal/corelib/io.rb', line 50

def readbyte
  getbyte
end

#readcharObject


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

def readchar
  getc
end

#readline(sep = $/) ⇒ Object


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

def readline(sep = $/)
  raise NotImplementedError
end

#readpartial(integer, outbuf = nil) ⇒ Object


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

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