Class: Udongo::MetaInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/udongo/meta_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#customObject

Returns the value of attribute custom.



3
4
5
# File 'lib/udongo/meta_info.rb', line 3

def custom
  @custom
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/udongo/meta_info.rb', line 3

def description
  @description
end

#keywordsObject

Returns the value of attribute keywords.



3
4
5
# File 'lib/udongo/meta_info.rb', line 3

def keywords
  @keywords
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/udongo/meta_info.rb', line 3

def title
  @title
end