Class: Exif::Tag::Exif::SubjectDistanceRange

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

Overview

0xa40c - SubjectDistanceRange

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



1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
# File 'lib/exifparser/tag.rb', line 1629

def to_s
  case @formatted
  when 0
    'Unknown'
  when 1
    'Macro'
  when 2
    'Close view'
  when 3
    'Distant view'
  else
    'reserved'
  end
end