Class: Rollin::MetatagKey
- Inherits:
-
Object
- Object
- Rollin::MetatagKey
- Defined in:
- lib/rollin/metatag_key.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(label, values) ⇒ MetatagKey
constructor
A new instance of MetatagKey.
Constructor Details
#initialize(label, values) ⇒ MetatagKey
Returns a new instance of MetatagKey.
4 5 6 |
# File 'lib/rollin/metatag_key.rb', line 4 def initialize(label, values) @label, @values = label, values end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
2 3 4 |
# File 'lib/rollin/metatag_key.rb', line 2 def label @label end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
2 3 4 |
# File 'lib/rollin/metatag_key.rb', line 2 def values @values end |