Mange / roadie

@@ -59,7 +59,7 @@
Loading
59 59
    # Append additional CSS to the document's internal stylesheet.
60 60
    # @param [String] new_css
61 61
    def add_css(new_css)
62 -
      @css += "\n\n" + new_css
62 +
      @css << "\n\n" << new_css
63 63
    end
64 64
65 65
    # Transform the input HTML as a full document and returns the processed

@@ -60,9 +60,9 @@
Loading
60 60
    # Redundant method argument is to keep API compatability without major version bump.
61 61
    # TODO: Remove argument on version 4.0.
62 62
    def build_message(extra_message = @extra_message)
63 -
      message = %(Could not find stylesheet "#{css_name}")
64 -
      message += ": #{extra_message}" if extra_message
65 -
      message += "\nUsed provider:\n#{provider}" if provider
63 +
      message = +%(Could not find stylesheet "#{css_name}")
64 +
      message << ": #{extra_message}" if extra_message
65 +
      message << "\nUsed provider:\n#{provider}" if provider
66 66
      message
67 67
    end
68 68
  end
@@ -77,9 +77,9 @@
Loading
77 77
78 78
    private
79 79
    def build_message(extra_message)
80 -
      message = %(Could not find stylesheet "#{css_name}": #{extra_message}\nUsed providers:\n)
80 +
      message = +%(Could not find stylesheet "#{css_name}": #{extra_message}\nUsed providers:\n)
81 81
      each_error_row(errors) do |row|
82 -
        message += "\t" + row + "\n"
82 +
        message << "\t" << row << "\n"
83 83
      end
84 84
      message
85 85
    end
Files Coverage
lib 99.17%
spec 97.29%
Project Totals (57 files) 97.98%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading