Method: Exiftool::FieldParser#value
- Defined in:
- lib/exiftool/field_parser.rb
#value ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/exiftool/field_parser.rb', line 22 def value @value ||= if lat_long? as_lat_long elsif date? as_date elsif fraction? as_fraction else raw_value end rescue StandardError => e # :nocov: "Warning: Parsing '#{raw_value}' for attribute '#{key}' raised #{e.}" # :nocov: end |