Class: Mutant::CLI::Command::Session::List Private

Inherits:
Mutant::CLI::Command::Session show all
Defined in:
lib/mutant/cli/command/session.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

SessionCommand

Constant Summary collapse

NAME =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'list'
SHORT_DESCRIPTION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'List past mutation testing sessions'
SUBCOMMANDS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

[].freeze
HEADER_FORMAT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'%-6s  %-10s  %-8s  %-10s  %-10s  %-36s  %s'
ROW_FORMAT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'%-6s  %-10s  %-8s  %-10s  %-10s  %-36s  %s'
INCOMPATIBLE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'--------------- [incompatible] ---------------'

Constants inherited from Mutant::CLI::Command::Session

RESULTS_DIR

Constants inherited from Mutant::CLI::Command

OPTIONS

Instance Method Summary collapse

Methods inherited from Mutant::CLI::Command

#call, command_name, #full_name, parse, short_description

Instance Method Details

#actionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



95
96
97
98
99
100
# File 'lib/mutant/cli/command/session.rb', line 95

def action
  print_header
  session_files.reverse_each(&method(:print_session))

  Either::Right.new(nil)
end