Class: Mutant::Meta::Example
- Inherits:
-
Object
- Object
- Mutant::Meta::Example
- Includes:
- Adamantium
- Defined in:
- lib/mutant/meta.rb,
lib/mutant/meta/example.rb,
lib/mutant/meta/example/dsl.rb
Overview
Mutation example
Defined Under Namespace
Classes: DSL, Verification
Constant Summary collapse
- ALL =
[]
Class Method Summary collapse
-
.add(&block) ⇒ undefined
private
Add example.
Instance Method Summary collapse
-
#generated ⇒ Emumerable<Parser::AST::Node>
private
Return generated mutations.
-
#verification ⇒ Verification
private
Return a verification instance.
Class Method Details
Instance Method Details
#generated ⇒ Emumerable<Parser::AST::Node>
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.
Return generated mutations
24 25 26 |
# File 'lib/mutant/meta/example.rb', line 24 def generated Mutant::Mutator.each(node).to_a end |
#verification ⇒ Verification
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.
Return a verification instance
14 15 16 |
# File 'lib/mutant/meta/example.rb', line 14 def verification Verification.new(self, generated) end |