Class: TiffFileTags::Tag
- Inherits:
-
Object
- Object
- TiffFileTags::Tag
- Defined in:
- lib/tags.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#map ⇒ Object
Returns the value of attribute map.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, id, type, map = nil) ⇒ Tag
constructor
Examples:.
Constructor Details
#initialize(name, id, type, map = nil) ⇒ Tag
19 20 21 22 23 24 |
# File 'lib/tags.rb', line 19 def initialize(name, id, type, map = nil) @name = name @id = id @type = type @map = map end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/tags.rb', line 5 def id @id end |
#map ⇒ Object
Returns the value of attribute map.
7 8 9 |
# File 'lib/tags.rb', line 7 def map @map end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/tags.rb', line 4 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/tags.rb', line 6 def type @type end |