Class: Orthor::Page
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Object
#content, #initialize, #path_name
Methods included from HttpCaching
Constructor Details
This class inherits a constructor from Orthor::Object
Instance Method Details
#fetch_content ⇒ Object
3 4 5 |
# File 'lib/orthor/page.rb', line 3 def fetch_content Orthorings.content(@id, @template) end |
#title ⇒ Object
7 8 9 |
# File 'lib/orthor/page.rb', line 7 def title Orthorings.content(@id)["Title"] end |