Class: Gio::RubyInputStream

Inherits:
InputStream show all
Includes:
RubySeekable, Seekable
Defined in:
lib/gio2/ruby-input-stream.rb

Instance Method Summary collapse

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