Class: Exif::Tag::MakerNote::ActiveD_Lighting

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

Overview

0x0022 ActiveD_Lighting

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



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'lib/exifparser/makernote/nikon2.rb', line 205

def to_s
  case @formatted
  when 0
    "Off"
  when 1
    "Low"
  when 3
    "Normal"
  when 5
    "Hight"
  when 7
    "Extra High"
  when 65535
    "Auto"
  else
    ""
  end
end