class CC::Formatters::SnapshotFormatter::Sample
Override the base snapshot formatter for be more lax grouping information. This is useful to show more information for testing the service.
Public Instance Methods
decreased_constants_selector()
click to toggle source
# File lib/cc/formatters/snapshot_formatter.rb, line 92 def decreased_constants_selector proc { |constant| to_rating(constant) < from_rating(constant) } end
improved_constants_selector()
click to toggle source
# File lib/cc/formatters/snapshot_formatter.rb, line 96 def improved_constants_selector proc { |constant| to_rating(constant) > from_rating(constant) } end
new_constants_selector()
click to toggle source
# File lib/cc/formatters/snapshot_formatter.rb, line 88 def new_constants_selector proc { |_| true } end