lib/mutant/mutator/node/literal/hash.rb in mutant-0.8.8 vs lib/mutant/mutator/node/literal/hash.rb in mutant-0.8.9
- old
+ new
@@ -10,23 +10,19 @@
private
# Emit mutations
#
# @return [undefined]
- #
- # @api private
def dispatch
emit_singletons
emit_type
mutate_body
end
# Mutate body
#
# @return [undefined]
- #
- # @api private
def mutate_body
children.each_index do |index|
mutate_child(index)
dup_children = children.dup
dup_children.delete_at(index)
@@ -44,11 +40,9 @@
private
# Perform dispatch
#
# @return [undefined]
- #
- # @api private
def dispatch
emit_key_mutations
emit_value_mutations
end