Class: Exif::Tag::MakerNote::Macro

Inherits:
Base
  • Object
show all
Defined in:
lib/exifparser/makernote/olympus.rb,
lib/exifparser/makernote/fujifilm.rb

Overview

0x1020 - Macro

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



94
95
96
97
98
99
100
101
102
103
# File 'lib/exifparser/makernote/olympus.rb', line 94

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