Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 163 Bytes
a = []
sum = 0
class B
attr_accessor :i, :sum
def initialize i, sum
@i = i
@sum = sum
end
end
100000.times do |i|
sum += 1
a << B.new(i,sum)
end
You can’t perform that action at this time.