Module: IO::Readable

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

Instance Method Summary collapse

Instance Method Details

#readbyteObject



46
47
48
# File 'opal/opal/corelib/io.rb', line 46

def readbyte
  getbyte
end

#readcharObject



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

def readchar
  getc
end

#readline(sep = $/) ⇒ Object



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

def readline(sep = $/)
  raise NotImplementedError
end

#readpartial(integer, outbuf = nil) ⇒ Object



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

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