Class: Exif::Tag::GPS::GPSDestDistanceRef

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

Overview

0x0019 - GPSDestDistanceRef

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



2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
# File 'lib/exifparser/tag.rb', line 2034

def to_s
  case @formatted
  when 'K'
    'Kilometers'
  when 'M'
    'Miles'
  when 'N'
    'Knots'
  else
    'Unknown'
  end
end