Class: Solid::Parser::LiteralArray

Inherits:
Literal
  • Object
show all
Defined in:
lib/solid/parser.rb

Instance Attribute Summary

Attributes inherited from Literal

#value

Instance Method Summary collapse

Instance Method Details

#evaluate(context) ⇒ Object



19
20
21
# File 'lib/solid/parser.rb', line 19

def evaluate(context)
  value.map{ |v| v.evaluate(context) }
end