Class: EsiAttributeLanguage::ConcatNode
- Defined in:
- lib/esi_attribute_language.rb
Instance Method Summary collapse
- #execute(context) ⇒ Object
-
#initialize(*parts) ⇒ ConcatNode
constructor
A new instance of ConcatNode.
Methods inherited from Node
cleanse_string, #result, #result_single
Constructor Details
#initialize(*parts) ⇒ ConcatNode
Returns a new instance of ConcatNode.
34 35 36 |
# File 'lib/esi_attribute_language.rb', line 34 def initialize(*parts) @parts = parts end |
Instance Method Details
#execute(context) ⇒ Object
38 39 40 |
# File 'lib/esi_attribute_language.rb', line 38 def execute(context) result(@parts, context).join('') end |