Class: Exif::Tag::GPS::GPSVersionID

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

Overview

0x0000 - GPSVersionID

type : byte count: 4

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



1680
1681
1682
1683
1684
1685
1686
1687
# File 'lib/exifparser/tag.rb', line 1680

def to_s
  case @formatted
  when [2,2,0,0]
    "Version 2.2"
  else
    "Unknown"
  end
end