lib/coverband/utils/html_formatter.rb
def formatted_source_file(source_file)
        template('source_file').result(binding)
      rescue Encoding::CompatibilityError => e
        puts "Encoding error file:#{source_file.filename} Coverband/ERB error #{e.message}."
      end
# Returns the html for the given source_file
Returns the html for the given source_file
Returns the html for the given source_file
def formatted_source_file(source_file)
        template('source_file').result(binding)
      rescue Encoding::CompatibilityError => e
        puts "Encoding error file:#{source_file.filename} Coverband/ERB error #{e.message}."
      end
def formatted_source_file ( source_file ) template ( 'source_file' ) . result ( binding ) rescue Encoding :: CompatibilityError => e puts "Encoding error file:#{source_file.filename} Coverband/ERB error #{e.message}." end
Returns the html for the given source_file
Returns the html for the given source_file
source_file