Class: Exif::Tag::GPS::GPSImgDirectionRef

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

Overview

0x0010 - GPSImgDirectionRef

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



1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
# File 'lib/exifparser/tag.rb', line 1908

def to_s
  case @formatted
  when 'T'
    'True direction'
  when 'M'
    'Magnetic direction'
  else
    'Unknown'
  end
end