Class: JPEGReaderWrapper
- Inherits:
-
Object
- Object
- JPEGReaderWrapper
- Defined in:
- lib/oil.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(reader, opts) ⇒ JPEGReaderWrapper
constructor
A new instance of JPEGReaderWrapper.
Constructor Details
#initialize(reader, opts) ⇒ JPEGReaderWrapper
Returns a new instance of JPEGReaderWrapper.
93 94 95 96 |
# File 'lib/oil.rb', line 93 def initialize(reader, opts) @reader = reader @opts = opts end |
Instance Method Details
#each(&block) ⇒ Object
98 99 100 |
# File 'lib/oil.rb', line 98 def each(&block) @reader.each(@opts, &block) end |