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