lib/utopia/content/node.rb
def call(document, state)
				# Load the template:
				template = @controller.fetch_template(@file_path)
				
				# Evaluate the template/code:
				context = Context.new(document, state)
				markup = template.to_buffer(context)
				
				# Render the resulting markup into the document:
				document.parse_markup(markup)
			end
# Invoked when the node is being rendered by {Document}.
Invoked when the node is being rendered by {Document}.
Invoked when the node is being rendered by { Document } .
def call(document, state)
				template = @controller.fetch_template(@file_path)
				context = Context.new(document, state)
				markup = template.to_buffer(context)
				document.parse_markup(markup)
			end
def call ( document , state ) template = @controller . fetch_template ( @file_path ) context = Context . new ( document , state ) markup = template . to_buffer ( context ) document . parse_markup ( markup ) end
Invoked when the node is being rendered by {Document}.
Invoked when the node is being rendered by { Document } .
# Load the template: # Evaluate the template/code: # Render the resulting markup into the document:
document
state