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



1373
1374
1375
1376
1377
1378
# File 'lib/exifparser/tag.rb', line 1373

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

#to_sObject



1380
1381
1382
# File 'lib/exifparser/tag.rb', line 1380

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