Class: Solid::Parser::LiteralHash
- Defined in:
- lib/solid/parser.rb
Instance Attribute Summary
Attributes inherited from Literal
Instance Method Summary collapse
Instance Method Details
#evaluate(context) ⇒ Object
31 32 33 |
# File 'lib/solid/parser.rb', line 31 def evaluate(context) Hash[value.map{ |k, v| [k.evaluate(context), v.evaluate(context)] }] end |