Class: Evilution::CLI::Printers::Compare
- Inherits:
-
Object
- Object
- Evilution::CLI::Printers::Compare
- Defined in:
- lib/evilution/cli/printers/compare.rb
Constant Summary collapse
- SCHEMA =
{ "shared" => %w[file line operator fp], "alive_only" => %w[file line operator fp other_status] }.freeze
- FILE_LINE_WIDTH =
40- OPERATOR_WIDTH =
22- FP_LENGTH =
7- MUTANT_OPERATOR =
"(mutant)"- ABSENT_STATUS =
"absent"
Instance Method Summary collapse
-
#initialize(buckets, format: :json) ⇒ Compare
constructor
A new instance of Compare.
- #render(io) ⇒ Object
Constructor Details
#initialize(buckets, format: :json) ⇒ Compare
Returns a new instance of Compare.
18 19 20 21 |
# File 'lib/evilution/cli/printers/compare.rb', line 18 def initialize(buckets, format: :json) @buckets = buckets @format = format || :json end |