Displaying 1 result from an estimated 1 matches for "progress_guag".
Did you mean:
progress_guage
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
...h.split("\\")
@file_path = file.join("\\\\")
@file_path << "\\Random.txt"
random_file = File.new(@file_path , "w")
i = 0
max = @max_number.to_i
b = 10 ** (@number_of_digits.to_i - 1)
random_seed = 10 ** (@number_of_digits.to_i)
g = 0
g_max =100
@progress_guage.set_value(0)
while i < max
a = rand(random_seed)
if (a > b) then
random_file.puts a
i = i + 1
while ((i/max) * 100) > (@progress_guage.get_value())
@progress_guage.pulse()
sleep(0.08)
end#gauge while
end #if
end #while
end#def
class RandomFrame <...