Module: RIO::Ops::Stream::Manip
Instance Method Summary
collapse
Methods included from Fwd
fwd, fwd_reader, fwd_readers, fwd_writer, fwd_writers
Instance Method Details
58
|
# File 'lib/rio/ops/stream.rb', line 58
def flush() rtn_self { self.ioh.flush } end
|
59
|
# File 'lib/rio/ops/stream.rb', line 59
def fsync() rtn_self { self.ioh.fsync } end
|
57
|
# File 'lib/rio/ops/stream.rb', line 57
def isatty() ioh ? ioh.isatty : false end
|
54
|
# File 'lib/rio/ops/stream.rb', line 54
def pid() ioh ? ioh.pid : nil end
|
#seek(amount, whence = IO::SEEK_SET) ⇒ Object
60
|
# File 'lib/rio/ops/stream.rb', line 60
def seek(amount,whence=IO::SEEK_SET) rtn_self { self.ioh.seek(amount,whence) } end
|
55
|
# File 'lib/rio/ops/stream.rb', line 55
def to_io() ioh ? ioh.to_io : nil end
|
#tty? ⇒ Boolean
56
|
# File 'lib/rio/ops/stream.rb', line 56
def tty?() ioh ? ioh.tty? : false end
|