Class: Exif::Tag::MakerNote::SonyAFIlluminator

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

Overview

0xb044 - AF Illuminator

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



526
527
528
529
530
531
532
533
534
# File 'lib/exifparser/makernote/sony.rb', line 526

def to_s
  if @formatted == 0
    "Off"
  elsif @formatted == 1
    "Auto"
  else
    @formatted.to_s + " (Unknown)"
  end
end