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 inherited from InputStream
open, #read, #read_all, #read_all_raw, #read_raw
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 |