Class: Filmrolls::Exiftool
- Inherits:
-
MiniExiftool
- Object
- MiniExiftool
- Filmrolls::Exiftool
- Defined in:
- lib/filmrolls/exiftool.rb
Instance Method Summary collapse
-
#initialize(filename_or_io = nil, opts = {}) ⇒ Exiftool
constructor
A new instance of Exiftool.
Constructor Details
#initialize(filename_or_io = nil, opts = {}) ⇒ Exiftool
Returns a new instance of Exiftool.
8 9 10 11 12 |
# File 'lib/filmrolls/exiftool.rb', line 8 def initialize(filename_or_io = nil, opts = {}) opts[:timestamps] = DateTime unless opts.key? :timestamps opts[:coord_format] = "%.6f degrees" unless opts.key? :coord_format super(filename_or_io, opts) end |