class Coverage::RcovFormatter

Private Instance Methods

write_file(template, output_filename, binding) click to toggle source
# File lib/bizside/coverage/rcov_formatter.rb, line 6
def write_file(template, output_filename, binding)
  rcov_result = template.result( binding ).force_encoding('UTF-8')
  File.open( output_filename, "w" ) do |file_result|
    file_result.write rcov_result
  end
end