Class: Exif::Tag::Exif::FlashPixVersion

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

Overview

0xa000 - FlashPixVersion

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

#_format0(data) ⇒ Object



1250
1251
1252
# File 'lib/exifparser/tag.rb', line 1250

def _format0(data)
  data
end

#to_sObject



1254
1255
1256
1257
1258
1259
1260
1261
# File 'lib/exifparser/tag.rb', line 1254

def to_s
  case @formatted
  when "0100"
    "FlashPix Version 1.0"
  else
    "Unknown FlashPix Version"
  end
end