Class: EsiForRack::Node::Vars

Inherits:
EsiForRack::Node show all
Defined in:
lib/esi_for_rack/node.rb

Constant Summary

Constants inherited from EsiForRack::Node

IncludeFailedError

Instance Attribute Summary

Attributes inherited from EsiForRack::Node

#context, #node

Instance Method Summary collapse

Methods inherited from EsiForRack::Node

#execute_in_place!, #init

Instance Method Details

#executeObject



35
36
37
38
39
# File 'lib/esi_for_rack/node.rb', line 35

def execute                                    
  #@content = node.inner_html
  @content = Rack::Utils.unescape(node.inner_html)
  EsiAttributeLanguage::SimpleGrammar.parse(@content).execute(context.resolver)
end