lib/onceover/controlrepo.rb in onceover-3.2.4 vs lib/onceover/controlrepo.rb in onceover-3.2.5
- old
+ new
@@ -515,10 +515,9 @@
def self.evaluate_template(template_name,bind)
logger.debug "Evaluating template #{template_name}"
template_dir = File.expand_path('../../templates',File.dirname(__FILE__))
template = File.read(File.expand_path("./#{template_name}",template_dir))
- logger.debug "Binding variables #{bind.local_variables}"
ERB.new(template, nil, '-').result(bind)
end
def self.init_write_file(contents,out_file)
Onceover::Controlrepo.create_dirs_and_log(File.dirname(out_file))