Class: Exif::Tag::MakerNote::SonyAntiBlur

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

Overview

0xb04b - Anti Blur

Constant Summary collapse

AntiBlur =
{
  0 => "Off",
  1 => "On (Continuous)",
  2 => "On (Shooting)"
}

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



608
609
610
# File 'lib/exifparser/makernote/sony.rb', line 608

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