Class: Handlebars::Tree::Parameter
- Inherits:
-
Object
- Object
- Handlebars::Tree::Parameter
- Defined in:
- lib/ruby-handlebars/tree.rb
Instance Method Summary collapse
Instance Method Details
#_eval(context) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/ruby-handlebars/tree.rb', line 38 def _eval(context) if name.is_a?(Parslet::Slice) context.get(name.to_s) else name._eval(context) end end |