Class: Plato::Site::Template
- Inherits:
-
Struct
- Object
- Struct
- Plato::Site::Template
- Defined in:
- lib/plato/site.rb,
lib/plato/site.rb
Overview
helpers
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#renderer ⇒ Object
Returns the value of attribute renderer.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *a, &b) ⇒ Object
124 |
# File 'lib/plato/site.rb', line 124 def method_missing(m, *a, &b); renderer.send(m, *a, &b) end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format
121 122 123 |
# File 'lib/plato/site.rb', line 121 def format @format end |
#renderer ⇒ Object
Returns the value of attribute renderer
121 122 123 |
# File 'lib/plato/site.rb', line 121 def renderer @renderer end |