Class: Gio::RubyInputStream
- Inherits:
-
InputStream
- Object
- InputStream
- Gio::RubyInputStream
- Includes:
- RubySeekable, Seekable
- Defined in:
- lib/gio2/ruby-input-stream.rb
Instance Method Summary collapse
-
#initialize(ruby_input) ⇒ RubyInputStream
constructor
A new instance of RubyInputStream.
Methods included from Seekable
#can_seek, #can_truncate, #seek, #tell, #truncate, #truncate_fn
Methods inherited from InputStream
#clear_pending, #close, #close_async, #close_finish, #has_pending, #is_closed, open, #read, #read_all, #read_all_async, #read_all_finish, #read_all_raw, #read_async, #read_bytes, #read_bytes_async, #read_bytes_finish, #read_finish, #read_raw, #set_pending, #skip, #skip_async, #skip_finish
Constructor Details
#initialize(ruby_input) ⇒ RubyInputStream
Returns a new instance of RubyInputStream.
28 29 30 31 32 |
# File 'lib/gio2/ruby-input-stream.rb', line 28 def initialize(ruby_input) @ruby_input = ruby_input @buffer = +"" super() end |