Class: FlavourSaver::PartialNode

Inherits:
TemplateItemNode show all
Defined in:
lib/flavour_saver/nodes.rb

Instance Method Summary collapse

Methods inherited from Node

#inspect

Instance Method Details

#contextObject



169
170
171
# File 'lib/flavour_saver/nodes.rb', line 169

def context
  context_call.any? ? context_call : context_value
end

#to_sObject



173
174
175
# File 'lib/flavour_saver/nodes.rb', line 173

def to_s
  "{{>#{name}}}"
end