Class: Exif::Tag::Exif::SubjectLocation

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

Overview

0xa214 - SubjectLocation

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, #value

Constructor Details

This class inherits a constructor from Exif::Tag::Base

Instance Method Details

#processDataObject



1370
1371
1372
1373
1374
1375
# File 'lib/exifparser/tag.rb', line 1370

def processData
  @formatted = []
  partition_data(@count) do |data|
    @formatted.push _formatData(data)
  end
end

#to_sObject



1377
1378
1379
# File 'lib/exifparser/tag.rb', line 1377

def to_s
  "[%d, %d]"%[*@formatted]
end