Class: Mutiny::Mutants::Mutation::Method::ShortcutAssignmentOperatorReplacement
- Inherits:
-
Helpers::OperatorReplacement
- Object
- Mutiny::Mutants::Mutation
- Helpers::OperatorReplacement
- Mutiny::Mutants::Mutation::Method::ShortcutAssignmentOperatorReplacement
- Defined in:
- lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb
Instance Method Summary collapse
Methods inherited from Helpers::OperatorReplacement
Methods inherited from Mutiny::Mutants::Mutation
Instance Method Details
#infix_operator_names ⇒ Object
12 13 14 |
# File 'lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb', line 12 def infix_operator_names i(+ - * / % ** & | ^ << >>) end |
#infix_operator_root ⇒ Object
8 9 10 |
# File 'lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb', line 8 def infix_operator_root :op_asgn end |
#prefix_operator_names ⇒ Object
16 17 18 |
# File 'lib/mutiny/mutants/mutation/method/shortcut_assignment_operator_replacement.rb', line 16 def prefix_operator_names i(and_asgn or_asgn) end |