Helpful Information
 
 
Category: Ruby Programming
Ruby, Load script with parameters

Does anyone know how to load a ruby script but also pass parameters to it at the same time. i.e. the Test.rb script in the example below has 2 parameters that I need to pass to it.

Any ideas anyone????? :)



class LoadTestScript
def test_HI_start
load 'Test.rb'
end
end










privacy (GDPR)