Module: Roy::Render
- Defined in:
- lib/roy/render.rb
Overview
A simple template rendering mechanism based on Tilt.
Configuration:
- roy.conf.render
-
A hash of options to pass to Tilt.
- roy.conf.views
-
The directory where views are kept. Defaults to
views/
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.setup(roy) ⇒ Object
60 61 62 |
# File 'lib/roy/render.rb', line 60 def self.setup(roy) roy.send(:extend, InstanceMethods) end |