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



2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
# File 'lib/exifparser/tag.rb', line 2018

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