Class: Exif::Tag::MakerNote::SonyImageStabilization

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

Overview

0xb026 - Image Stabilization

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



357
358
359
360
361
362
363
364
365
366
# File 'lib/exifparser/makernote/sony.rb', line 357

def to_s
  case @formatted
  when 0
    "Off"
  when 1
    "On"
  else
    "Unknown"
  end
end