Class: Exif::Tag::MakerNote::CCDSensitivity

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

Overview

0x0006 - CCDSensitivity

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



104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/exifparser/makernote/nikon.rb', line 104

def to_s
    case @formatted
    when 0
      'ISO80'
    when 2
      'ISO160'
    when 4
      'ISO320'
    when 5
      'ISO100'
    else
      "Unknown(#{@formatted})"
    end
end