Class: Udongo::MetaInfo
- Inherits:
-
Object
- Object
- Udongo::MetaInfo
- Defined in:
- lib/udongo/meta_info.rb
Instance Attribute Summary collapse
-
#custom ⇒ Object
Returns the value of attribute custom.
-
#description ⇒ Object
Returns the value of attribute description.
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(keywords: nil, description: nil, custom: nil, title: nil) ⇒ MetaInfo
constructor
A new instance of MetaInfo.
Constructor Details
#initialize(keywords: nil, description: nil, custom: nil, title: nil) ⇒ MetaInfo
Returns a new instance of MetaInfo.
5 6 7 8 9 10 |
# File 'lib/udongo/meta_info.rb', line 5 def initialize(keywords: nil, description: nil, custom: nil, title: nil) @keywords = keywords @description = description @custom = custom @title = title end |
Instance Attribute Details
#custom ⇒ Object
Returns the value of attribute custom.
3 4 5 |
# File 'lib/udongo/meta_info.rb', line 3 def custom @custom end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/udongo/meta_info.rb', line 3 def description @description end |
#keywords ⇒ Object
Returns the value of attribute keywords.
3 4 5 |
# File 'lib/udongo/meta_info.rb', line 3 def keywords @keywords end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/udongo/meta_info.rb', line 3 def title @title end |