Class: Mutant::CLI::Command::Util::Mutation Private
- Inherits:
-
Mutant::CLI::Command::Util
- Object
- Mutant::CLI::Command
- Mutant::CLI::Command::Util
- Mutant::CLI::Command::Util::Mutation
- Defined in:
- lib/mutant/cli/command/util.rb
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.
Defined Under Namespace
Classes: Target
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.
'mutation'
- 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.
'Print mutations of a code snippet'
- 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
- OPTIONS =
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.
%i[add_target_options].freeze
Instance Method Summary collapse
- #action ⇒ Object private
Methods inherited from Mutant::CLI::Command
#call, command_name, #full_name, parse, short_description
Instance Method Details
#action ⇒ Object
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.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/mutant/cli/command/util.rb', line 16 def action @ignore_patterns.map! do |syntax| AST::Pattern.parse(syntax).from_right do || return Either::Left.new() end end @targets.each(&method(:print_mutations)) Either::Right.new(nil) end |