Sha256: 0b3c005b192f17882e4c3a88e8a614fb46c4648c624f6b77a2b062837bb2e1e8
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
# To change this template, choose Tools | Templates # and open the template in the editor. puts "Hello World" require 'rubygems' require 'progressbar' require 'raystest' rs = Raystest::RaysClass.new rs.do_print_stars bar = ProgressBar.new("Example progress", 50) total = 0 until total >= 50 sleep(rand(2)/2.0) increment = (rand(6) + 3) bar.inc(increment) total += increment end puts '---done---'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
raystest-1.0.2 | test/main.rb |