Class: Exif::Tag::TIFF::Copyright

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

Overview

0x8298 - Copyright

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



785
786
787
788
789
790
# File 'lib/exifparser/tag.rb', line 785

def to_s
  sep = @data.split("\0")
  photographer = sep[0]
  editor       = sep[1]
  "#{photographer} (Photographer) - #{editor} (Editor)"
end