Class: ExifTagger::Tag::State

Inherits:
Tag
  • Object
show all
Defined in:
lib/phtools/exif_tagger/tags/state.rb

Overview

MWG:State, String

= IPTC:Province-State + XMP-photoshop:State
+ XMP-iptcExt:LocationShownProvinceState

Constant Summary collapse

MAX_BYTESIZE =
32
EXIFTOOL_TAGS =
%w(Province-State State LocationShownProvinceState)

Instance Attribute Summary

Attributes inherited from Tag

#errors, #force_write, #info, #value, #value_invalid, #warnings, #write_script_lines

Instance Method Summary collapse

Methods inherited from Tag

#<=>, #check_for_warnings, #tag_id, #tag_name, #to_s, #to_write_script, #valid?

Constructor Details

#initialize(value_raw = []) ⇒ State

Returns a new instance of State.



16
17
18
# File 'lib/phtools/exif_tagger/tags/state.rb', line 16

def initialize(value_raw = [])
  super(value_raw.to_s)
end