Untitled

Run Settings
LanguageRuby
Language Version
Run Command
#!/usr/bin/ruby count = 0 arr = [] 10.times do |i| arr[i] = Thread.new { sleep(rand(0)/10.0) Thread.current["mycount"] = count count += 1 } end arr.each {|t| t.join; print t["mycount"], ", " } puts "count = #{count}"
Editor Settings
Theme
Key bindings
Full width
Lines