class Mutest::Mutator::Node::Regopt

Regular expression options mutation

Constants

MUTATED_FLAGS

Private Instance Methods

dispatch() click to toggle source

Emit mutations

@return [undefined]

# File lib/mutest/mutator/node/regopt.rb, line 15
def dispatch
  emit_type(*mutated_flags)
end
mutated_flags() click to toggle source

Altered flags array excluding case insensitive flag

@return [Array<Symbol>]

# File lib/mutest/mutator/node/regopt.rb, line 22
def mutated_flags
  (children - MUTATED_FLAGS)
end