3
3lionz Wexler
Sorry for the newbie question, but Can you run another ruby script, from
a ruby script?
For example:
#makes new .rb script
f = File.open('test.rb', 'w+')
f.write("puts 'Hello world'
sleep 5 # seconds")
f.close
#run test.rb
sleep 5 # seconds
#wait 5 seconds
end
a ruby script?
For example:
#makes new .rb script
f = File.open('test.rb', 'w+')
f.write("puts 'Hello world'
sleep 5 # seconds")
f.close
#run test.rb
sleep 5 # seconds
#wait 5 seconds
end