Class: Rollin::MetatagValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#articlesObject (readonly)

Returns the value of attribute articles.



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

def articles
  @articles
end

#contentObject (readonly)

Returns the value of attribute content.



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

def content
  @content
end