Class: Solid::Parser::Literal
- Inherits:
-
Struct
- Object
- Struct
- Solid::Parser::Literal
- Defined in:
- lib/solid/parser.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
22 23 24 |
# File 'lib/solid/parser.rb', line 22 def value @value end |
Instance Method Details
#evaluate(context) ⇒ Object
23 24 25 |
# File 'lib/solid/parser.rb', line 23 def evaluate(context) Solid.to_liquid(value, context) end |