class RoutesCoverage::Settings
Attributes
exclude_namespaces[R]
exclude_patterns[R]
exclude_put_fallbacks[RW]
format[RW]
groups[R]
minimum_coverage[RW]
perform_report[RW]
round_precision[RW]
Public Class Methods
new()
click to toggle source
# File lib/routes_coverage.rb, line 34 def initialize @exclude_patterns = [] @exclude_namespaces = [] @exclude_put_fallbacks = false @minimum_coverage = 1 @round_precision = 1 @format = :html @groups = {} @perform_report = true end
Public Instance Methods
formatter_class()
click to toggle source
# File lib/routes_coverage.rb, line 45 def formatter_class case format when :full_text Formatters::FullText when :summary_text Formatters::SummaryText when :html, :simplecov_html Formatters::Html when Formatters::Base format else raise "Unknown formatter #{settings.format.inspect}" end end