Class: Roy::RoyTemplate
- Inherits:
-
Tilt::Template
- Object
- Tilt::Template
- Roy::RoyTemplate
- Defined in:
- lib/roy/roy_template.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.engine_initialized? ⇒ Boolean
7 8 9 |
# File 'lib/roy/roy_template.rb', line 7 def self.engine_initialized? true end |
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
18 19 20 |
# File 'lib/roy/roy_template.rb', line 18 def evaluate(scope, locals, &block) @output ||= @engine.compile(data) end |
#initialize_engine ⇒ Object
11 12 |
# File 'lib/roy/roy_template.rb', line 11 def initialize_engine end |