Module: IO::Readable

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

Instance Method Summary collapse

Instance Method Details

#readbyteObject



23
24
25
# File 'opal/opal/corelib/io.rb', line 23

def readbyte
  getbyte
end

#readcharObject



27
28
29
# File 'opal/opal/corelib/io.rb', line 27

def readchar
  getc
end

#readline(sep = $/) ⇒ Object



31
32
33
# File 'opal/opal/corelib/io.rb', line 31

def readline(sep = $/)
  raise NotImplementedError
end

#readpartial(integer, outbuf = nil) ⇒ Object



35
36
37
# File 'opal/opal/corelib/io.rb', line 35

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