Class: Exif::Tag::MakerNote::Converter

Inherits:
Base
  • Object
show all
Defined in:
lib/exifparser/makernote/nikon.rb

Overview

0x000b - Converter

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_sObject



180
181
182
183
184
185
186
187
188
189
# File 'lib/exifparser/makernote/nikon.rb', line 180

def to_s
  case @formatted
  when 0
    'None'
  when 1
    'Fisheye'
  else
    'Unknown'
  end
end