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