Class: Exif::Tag::MakerNote::SonyFlashExposureComp
- Defined in:
- lib/exifparser/makernote/sony.rb
Overview
0x0104 - Flash exposure compensation in EV
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
#to_s ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/exifparser/makernote/sony.rb', line 39 def to_s if @formatted.numerator == 0 "0 EV" else @formatted.to_s + "EV" end end |