class Mutest::Mutator::Node::Regexp::CaptureGroup
Mutator
for regexp capture groups, such as `/(foo)/`
Public Instance Methods
dispatch()
click to toggle source
Emit mutations
Replace `(captured_group)` with `(?:non_captured_group)`
@return [undefined]
# File lib/mutest/mutator/node/regexp/capture_group.rb, line 16 def dispatch return unless group emit(s(:regexp_passive_group, group)) emit_group_mutations end