Prefer Array#at over Array#[] for fixnum index access

This commit is contained in:
Markus Schirp 2013-06-21 18:38:15 +02:00
parent 2813c081dc
commit da30228b94

View file

@ -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