Class: Exif::Tag::Exif::SceneType
Overview
0xa301 - SceneType
Instance Attribute Summary
Attributes inherited from Base
#IFD, #count, #data, #dataPos, #pos, #tagID
Instance Method Summary collapse
Methods inherited from Base
#formatExposureTime, #formatFNumber, #formatFocalLength, #formatLatLon, #initialize, #inspect, #name, #processData, #value
Constructor Details
This class inherits a constructor from Exif::Tag::Base
Instance Method Details
#_format0(data) ⇒ Object
1429 1430 1431 |
# File 'lib/exifparser/tag.rb', line 1429 def _format0(data) data[0] end |
#to_s ⇒ Object
1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/exifparser/tag.rb', line 1433 def to_s case @formatted when 0x01 'Directory photographed' else 'Unknown' end end |