Class: Exif::Tag::Exif::SceneCaptureType

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

Overview

0xa406 - SceneCaptureType

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



1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
# File 'lib/exifparser/tag.rb', line 1527

def to_s
  case @formatted
  when 0
    'Standard'
  when 1
    'Landscape'
  when 2
    'Portrait'
  when 3
    'Nigit scene'
  else
    'reserved'
  end
end