Class: Vore::PageData
- Inherits:
-
Object
- Object
- Vore::PageData
- Defined in:
- lib/vore/page_data.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title:, meta:, content:, path:) ⇒ PageData
constructor
A new instance of PageData.
Constructor Details
#initialize(title:, meta:, content:, path:) ⇒ PageData
7 8 9 10 11 12 |
# File 'lib/vore/page_data.rb', line 7 def initialize(title:, meta:, content:, path:) @title = title = @content = content @path = path end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
5 6 7 |
# File 'lib/vore/page_data.rb', line 5 def content @content end |
#meta ⇒ Object (readonly)
Returns the value of attribute meta.
5 6 7 |
# File 'lib/vore/page_data.rb', line 5 def end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/vore/page_data.rb', line 5 def path @path end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/vore/page_data.rb', line 5 def title @title end |