Commit e23840a3 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Remove unneeded `Array` creation in `Struct#_inspect`

parent 552bd9da
......@@ -57,7 +57,7 @@ if Object.const_defined?(:Struct)
end
buf = []
self.each_pair do |k,v|
buf.push [k.to_s + "=" + v._inspect(recur_list)]
buf.push k.to_s + "=" + v._inspect(recur_list)
end
str + buf.join(", ") + ">"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment