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



1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File 'lib/exifparser/tag.rb', line 1892

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