Class: ImageSize::StreamIOReader

Inherits:
Object
  • Object
show all
Includes:
ChunkyReader
Defined in:
lib/image_size/stream_io_reader.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ChunkyReader

#[], #chunk_size

Methods included from Reader

#fetch, open_with_uri, #stream, #unpack, #unpack1

Constructor Details

#initialize(io) ⇒ StreamIOReader

Returns a new instance of StreamIOReader.



9
10
11
12
# File 'lib/image_size/stream_io_reader.rb', line 9

def initialize(io)
  @io = io
  @chunks = []
end