class Mutest::Mutator::Node::Argument
Mutator
for required arguments
Constants
- UNDERSCORE
Private Instance Methods
dispatch()
click to toggle source
Emit mutations
@return [undefined]
# File lib/mutest/mutator/node/argument.rb, line 17 def dispatch emit_name_mutation end
emit_name_mutation()
click to toggle source
Emit name mutations
@return [undefined]
# File lib/mutest/mutator/node/argument.rb, line 24 def emit_name_mutation return if skip? emit_name(:"#{UNDERSCORE}#{name}") end
skip?()
click to toggle source
Test
if argument mutation is skipped
@return [Boolean]
# File lib/mutest/mutator/node/argument.rb, line 33 def skip? name.nil? || name.to_s.start_with?(UNDERSCORE) end