Class: Exif::Tag::GPS::GPSMeasureMode

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

Overview

0x000A - GPSMeasureMode

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



1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/exifparser/tag.rb', line 1834

def to_s
  case @formatted
  when '2'
    '2-dimensional measurement'
  when '3'
    '3-dimensional measurement'
  else
    'Unknown'
  end
end