Class: Mutant::Mutation::Noop
- Inherits:
-
Mutant::Mutation
- Object
- Mutant::Mutation
- Mutant::Mutation::Noop
- Defined in:
- lib/mutant/mutation.rb
Overview
Noop mutation
Instance Attribute Summary
Attributes inherited from Mutant::Mutation
Instance Method Summary collapse
-
#identification ⇒ String
private
Return identification.
-
#initialize(subject) ⇒ undefined
constructor
private
Initialize object.
Methods inherited from Mutant::Mutation
#code, #insert, #original_source, #root, #sha1, #source
Constructor Details
#initialize(subject) ⇒ undefined
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.
Initialize object
124 125 126 |
# File 'lib/mutant/mutation.rb', line 124 def initialize(subject) super(subject, subject.node) end |
Instance Method Details
#identification ⇒ String
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 identification
134 135 136 |
# File 'lib/mutant/mutation.rb', line 134 def identification "noop:#{super}" end |