Class: Mutant::Mutation::Noop
- Inherits:
-
Mutant::Mutation
- Object
- Mutant::Mutation
- Mutant::Mutation::Noop
- Defined in:
- lib/mutant/mutation.rb
Instance Attribute Summary
Attributes inherited from Mutant::Mutation
Instance Method Summary collapse
-
#identification ⇒ String
private
Return identification.
-
#initialize(subject) ⇒ undefined
constructor
private
Initialihe 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.
Initialihe object
123 124 125 |
# File 'lib/mutant/mutation.rb', line 123 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
133 134 135 |
# File 'lib/mutant/mutation.rb', line 133 def identification "noop:#{super}" end |