|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
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????? Code:
class LoadTestScript
def test_HI_start
load 'Test.rb'
end
end
__________________
Linux Apache Mysql PHP - http://fedora.redhat.com/ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Ruby Programming > Ruby, Load script with parameters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|