Class: Exif::Tag::GPS::GPSLongitudeRef

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

Overview

0x0003 - GPSLongitudeRef

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



1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
# File 'lib/exifparser/tag.rb', line 1732

def to_s
  case @formatted
  when 'E'
    'East longitude'
  when 'W'
    'West longitude'
  else
    'Unknown'
  end
end