class Mutiny::Mutants::Mutation::Method::ShortcutAssignmentOperatorReplacement

Public Instance Methods

infix_operator_names() click to toggle source
# File lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb, line 12
def infix_operator_names
  %i(+ - * / % ** & | ^ << >>)
end
infix_operator_root() click to toggle source
# File lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb, line 8
def infix_operator_root
  :op_asgn
end
prefix_operator_names() click to toggle source
# File lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb, line 16
def prefix_operator_names
  %i(and_asgn or_asgn)
end