Class: Exif::Tag::MakerNote::SonyIntelligentAuto

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

Overview

0xb052 - Intelligent Auto

Constant Summary collapse

IntelligentAuto =
{
  0 => "Off",
  1 => "On",
  2 => "Advanced"
}

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



653
654
655
# File 'lib/exifparser/makernote/sony.rb', line 653

def to_s
  IntelligentAuto.has_key?(@formatted) ?  IntelligentAuto[@formatted] : @formatted.to_s + " (Unknown)"
end