lib/liquid/template.rb
# Render takes a hash with local variables.
#
# if you use the same filters over and over again consider registering them globally 
# with <tt>Template.register_filter</tt>
# 
# Following options can be passed:
#  
#  * <tt>filters</tt> : array with local filters
#  * <tt>registers</tt> : hash with register variables. Those can be accessed from 
#    filters and tags and might be useful to integrate liquid more with its host application  
#
Render takes a hash with local variables.
if you use the same filters over and over again consider registering them globally
with Template.register_filter

Following options can be passed.

filters : array with local filters
registers : hash with register variables. Those can be accessed from
filters and tags and might be useful to integrate liquid more with its host application
Render takes a hash with local variables . if you use the same filters over and over again consider registering them globally with Template . register_filter Following options can be passed . filters : array with local filters registers : hash with register variables . Those can be accessed from filters and tags and might be useful to integrate liquid more with its host application
def render(assigns = {}, options = nil)
      options = { :filters => options } unless options.is_a?(Hash)
      context = Context.new(assigns, options[:registers])
      [options[:filters]].flatten.each do |filter|         
        context.add_filters(filter) 
      end
      @root.render(context).join
    end
def render ( assigns = { } , options = nil ) options = { :filters => options } unless options . is_a? ( Hash ) context = Context . new ( assigns , options [ :registers ] ) [ options [ :filters ] ] . flatten . each do | filter | context . add_filters ( filter ) end @root . render ( context ) . join end
Render takes a hash with local variables.
Render takes a hash with local variables .
# Apply all filters  # render the nodelist. # for performance reasons we get a array back here. join will make a string out of it
assigns
<not_specific>
options
<not_specific>