Method: IPTCR::IPTC#initialize
- Defined in:
- lib/iptcr/iptc.rb
#initialize(io, length:) ⇒ IPTC
Returns a new instance of IPTC.
27 28 29 30 |
# File 'lib/iptcr/iptc.rb', line 27 def initialize(io, length:) @fields = [] read_fields(io, length: length) end |