lib/tdp/application.rb
# Add directories to lookup path for templates if the option isn't frozen.
# Command line option will freeze the list.
Add directories to lookup path for templates if the option isn't frozen.
Command line option will freeze the list.
Add directories to lookup path for templates if the option isn ' t frozen . Command line option will freeze the list .
def add_template_path( args )
      files = args[:files]
      if !(options.templates.frozen?)
        files.each do |fn|
          options.templates << File.expand_path(fn)
        end
      end
      if args[:freeze] == true
        options.templates.freeze
      end
    end
def add_template_path ( args ) files = args [ :files ] if ! ( options . templates . frozen? ) files . each do | fn | options . templates << File . expand_path ( fn ) end end if args [ :freeze ] == true options . templates . freeze end end
Add directories to lookup path for templates if the option isn't frozen.
Add directories to lookup path for templates if the option isn ' t frozen .
args
<not_specific>