Class: ExifTagger::Tag::Creator
- Defined in:
- lib/phtools/exif_tagger/tags/creator.rb
Overview
MWG:Creator, string+, List of strings
= EXIF:Artist, IPTC:By-line, XMP-dc:Creator
Constant Summary collapse
- MAX_BYTESIZE =
32- EXIFTOOL_TAGS =
%w(Artist By-line Creator)
Instance Attribute Summary
Attributes inherited from Tag
#errors, #force_write, #info, #value, #value_invalid, #warnings, #write_script_lines
Instance Method Summary collapse
-
#initialize(value_raw = []) ⇒ Creator
constructor
A new instance of Creator.
Methods inherited from Tag
#<=>, #check_for_warnings, #tag_id, #tag_name, #to_s, #to_write_script, #valid?
Constructor Details
#initialize(value_raw = []) ⇒ Creator
Returns a new instance of Creator.
15 16 17 |
# File 'lib/phtools/exif_tagger/tags/creator.rb', line 15 def initialize(value_raw = []) super(Array(value_raw).flatten.map { |i| i.to_s }) end |