Displaying 1 result from an estimated 1 matches for "random_process".
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
...begin
require ''rubygems''
rescue LoadError
end
require ''rubyscript2exe''
require ''Wx''
include Wx
require ''random_frame.rb''
RUBYSCRIPT2EXE.bin = ["random.xrc"]
RUBYSCRIPT2EXE.bin = ["random_frame.rb"]
def random_process
file = @file_path.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)...