Class: Mutest::Mutator::Node::Regexp::BeginningOfLineAnchor Private
- Inherits:
-
Mutest::Mutator::Node
- Object
- Mutest::Mutator
- Mutest::Mutator::Node
- Mutest::Mutator::Node::Regexp::BeginningOfLineAnchor
- Defined in:
- lib/mutest/mutator/node/regexp.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.
Mutator for beginning of line anchor ‘^`
Constant Summary
Constants inherited from Mutest::Mutator::Node
Constants included from AST::Nodes
AST::Nodes::N_EMPTY, AST::Nodes::N_EMPTY_SUPER, AST::Nodes::N_FALSE, AST::Nodes::N_INFINITY, AST::Nodes::N_NAN, AST::Nodes::N_NEGATIVE_INFINITY, AST::Nodes::N_NIL, AST::Nodes::N_RAISE, AST::Nodes::N_SELF, AST::Nodes::N_TRUE, AST::Nodes::N_ZSUPER
Constants inherited from Mutest::Mutator
Instance Attribute Summary
Attributes inherited from Mutest::Mutator
Instance Method Summary collapse
-
#dispatch ⇒ undefined
private
Emit mutations.
Methods included from AST::NamedChildren
Methods inherited from Mutest::Mutator
Instance Method Details
#dispatch ⇒ 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.
Emit mutations
Replace ‘^` with `A`
26 27 28 |
# File 'lib/mutest/mutator/node/regexp.rb', line 26 def dispatch emit(s(:regexp_bos_anchor)) end |