Class: Exif::Tag::Exif::ApertureValue

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

Overview

0x9202 - ApertureValue

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



962
963
964
# File 'lib/exifparser/tag.rb', line 962

def to_s
  formatFNumber(Math.sqrt(2.0)**(@formatted.to_f))
end