Module: RIO::Ops::Stream::Manip
Instance Method Summary collapse
- #binmode ⇒ Object
- #flush ⇒ Object
- #fsync ⇒ Object
- #isatty ⇒ Object
- #pid ⇒ Object
- #seek(amount, whence = IO::SEEK_SET) ⇒ Object
- #to_io ⇒ Object
- #tty? ⇒ Boolean
Instance Method Details
#binmode ⇒ Object
60 |
# File 'lib/rio/ops/stream.rb', line 60 def binmode() rtn_self { self.ioh.binmode } end |
#flush ⇒ Object
61 |
# File 'lib/rio/ops/stream.rb', line 61 def flush() rtn_self { self.ioh.flush } end |
#fsync ⇒ Object
62 |
# File 'lib/rio/ops/stream.rb', line 62 def fsync() rtn_self { self.ioh.fsync } end |
#isatty ⇒ Object
59 |
# File 'lib/rio/ops/stream.rb', line 59 def isatty() ioh ? ioh.isatty : false end |
#pid ⇒ Object
56 |
# File 'lib/rio/ops/stream.rb', line 56 def pid() ioh ? ioh.pid : nil end |
#seek(amount, whence = IO::SEEK_SET) ⇒ Object
63 |
# File 'lib/rio/ops/stream.rb', line 63 def seek(amount,whence=IO::SEEK_SET) rtn_self { self.ioh.seek(amount,whence) } end |
#to_io ⇒ Object
57 |
# File 'lib/rio/ops/stream.rb', line 57 def to_io() ioh ? ioh.to_io : nil end |
#tty? ⇒ Boolean
58 |
# File 'lib/rio/ops/stream.rb', line 58 def tty?() ioh ? ioh.tty? : false end |