Class: Exif::Tag::Exif::SensingMethod

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

Overview

0xa217 - SensingMethod

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



1397
1398
1399
1400
1401
1402
1403
1404
# File 'lib/exifparser/tag.rb', line 1397

def to_s
  case @formatted
  when 2
    'One-chip color area sensor'
  else
    'Unknown'
  end
end