Class: Rollin::MetatagKey

Inherits:
Object
  • Object
show all
Defined in:
lib/rollin/metatag_key.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject (readonly)

Returns the value of attribute label.



2
3
4
# File 'lib/rollin/metatag_key.rb', line 2

def label
  @label
end

#valuesObject (readonly)

Returns the value of attribute values.



2
3
4
# File 'lib/rollin/metatag_key.rb', line 2

def values
  @values
end