Class: ImageSize::StreamIOReader
- Inherits:
-
Object
- Object
- ImageSize::StreamIOReader
- Includes:
- ChunkyReader
- Defined in:
- lib/image_size/stream_io_reader.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(io) ⇒ StreamIOReader
constructor
A new instance of StreamIOReader.
Methods included from ChunkyReader
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 |