Prefer Array#at over Array#[] for fixnum index access
This commit is contained in:
parent
2813c081dc
commit
da30228b94
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module Mutant
|
|||
#
|
||||
def self.define_named_child(name, index)
|
||||
define_method("#{name}") do
|
||||
children[index]
|
||||
children.at(index)
|
||||
end
|
||||
|
||||
define_method("emit_#{name}_mutations") do
|
||||
|
|
Loading…
Reference in a new issue