Class: Alephant::Renderer::Views::Html
- Inherits:
-
Object
- Object
- Alephant::Renderer::Views::Html
- Includes:
- Base
- Defined in:
- lib/alephant/renderer/views/html.rb
Class Attribute Summary collapse
-
.template_path ⇒ Object
FIXME: remove this when we’ve gotten rid of all of the ‘self.template_path` directives.
Instance Method Summary collapse
Methods included from Base
Class Attribute Details
.template_path ⇒ Object
FIXME: remove this when we’ve gotten rid of all of the ‘self.template_path` directives
13 14 15 |
# File 'lib/alephant/renderer/views/html.rb', line 13 def template_path @template_path end |
Instance Method Details
#render ⇒ Object
22 23 24 |
# File 'lib/alephant/renderer/views/html.rb', line 22 def render @renderer.render self end |
#setup ⇒ Object
16 17 18 19 20 |
# File 'lib/alephant/renderer/views/html.rb', line 16 def setup @content_type = 'text/html' @translator = translator @renderer = renderer_engine end |