Class: Cul::Image::Properties::Exif::TagName

Inherits:
Object
  • Object
show all
Defined in:
lib/cul_image_props/image/properties/exif/types.rb

Overview

first element of tuple is tag name, optional second element is another dictionary giving names to values

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value = false) ⇒ TagName

Returns a new instance of TagName.



31
32
33
34
# File 'lib/cul_image_props/image/properties/exif/types.rb', line 31

def initialize(name, value=false)
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



30
31
32
# File 'lib/cul_image_props/image/properties/exif/types.rb', line 30

def name
  @name
end

#valueObject

Returns the value of attribute value.



30
31
32
# File 'lib/cul_image_props/image/properties/exif/types.rb', line 30

def value
  @value
end