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.
56 57 58 59 |
# File 'lib/oil.rb', line 56 def initialize(reader, opts) @reader = reader @opts = opts end |
Instance Method Details
#each(&block) ⇒ Object
61 62 63 |
# File 'lib/oil.rb', line 61 def each(&block) @reader.each(@opts, &block) end |