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



29
30
31
# File 'lib/solid/parser.rb', line 29

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