Class: ExifTagger::Tag::CountryCode

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

Overview

XMP-iptcExt:LocationShownCountryCode, String

Constant Summary collapse

MAX_BYTESIZE =
32
EXIFTOOL_TAGS =
%w(LocationShownCountryCode)

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 = '') ⇒ CountryCode

Returns a new instance of CountryCode.



14
15
16
# File 'lib/phtools/exif_tagger/tags/country_code.rb', line 14

def initialize(value_raw = '')
  super(value_raw.to_s)
end