Class: Page
- Inherits:
-
Object
- Object
- Page
- Defined in:
- lib/persona/page.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(name) ⇒ Page
constructor
A new instance of Page.
Constructor Details
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
3 4 5 |
# File 'lib/persona/page.rb', line 3 def @author end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
3 4 5 |
# File 'lib/persona/page.rb', line 3 def content @content end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/persona/page.rb', line 3 def title @title end |