Class: JSX::Template
- Inherits:
-
Tilt::Template
- Object
- Tilt::Template
- JSX::Template
- Defined in:
- lib/jsx/template.rb
Class Attribute Summary collapse
-
.transform_options ⇒ Object
Returns the value of attribute transform_options.
Instance Method Summary collapse
Class Attribute Details
.transform_options ⇒ Object
Returns the value of attribute transform_options.
16 17 18 |
# File 'lib/jsx/template.rb', line 16 def end |
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
10 11 12 |
# File 'lib/jsx/template.rb', line 10 def evaluate(scope, locals, &block) @output ||= JSX.transform(data, self.class. || {}) end |
#prepare ⇒ Object
7 8 |
# File 'lib/jsx/template.rb', line 7 def prepare end |