lib/wolverine/script.rb
def include_partial(relative_path)
        unless @partial_templates.has_key? relative_path
          @partial_templates[relative_path] = nil
          template( Pathname.new("#{@script_path}/#{relative_path}") )
        end
      end
# helper method to include a lua partial within another lua script
#
# @param relative_path [String] the relative path to the script from
#     `Wolverine.config.script_path`
helper method to include a lua partial within another lua script
helper method to include a lua partial within another lua script
def include_partial(relative_path)
        unless @partial_templates.has_key? relative_path
          @partial_templates[relative_path] = nil
          template( Pathname.new("#{@script_path}/#{relative_path}") )
        end
      end
def include_partial ( relative_path ) unless @partial_templates . has_key? relative_path @partial_templates [ relative_path ] = nil template ( Pathname . new ( "#{@script_path}/#{relative_path}" ) ) end end
helper method to include a lua partial within another lua script
helper method to include a lua partial within another lua script
relative_path
the relative path to the script from `Wolverine.config.script_path`
the relative path to the script from ` Wolverine . config . script_path `