How to pass args to Ruby script under SciTE?

R

Richard Lionheart

Hi,

I want to pass args to a Ruby script being tested under SciTE. The View
menu has a Parameters item, but that doesn't seem to be related to
arguments for the Ruby program under test.

Is there a way to do this?

TIA,
Richard
 
K

Kaspar Schiess

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Lionheart wrote:

| Is there a way to do this?
Did you look into lua ?

kaspar - code philosopher

- -- stolen off the net --
Today at work an ethernet switch decided to take the 'N' out of NVRAM
-- Richard Letts
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAha7VFifl4CA0ImQRAsA1AJ9P9fv1pmg4nnfjtwq92aVVAiMqzwCfSzQE
asqwHLc/Hfu+iIjW/4yfo+Q=
=fwOg
-----END PGP SIGNATURE-----
 
R

Richard Lionheart

Hi Kasper,

Thanks for your reply. I never heard of "lua" but found a website for it,
but I don't see what relevance it has to my problem. If it is, could you
be more explicit?

I'm using the Scintilla Text Editor for writing an testing Ruby scripts.
I'm currently writing one that should accept a single argument when it is
run. How can I put such an argument in SciTE's environment so that when the
scripts references ARGV[0], the first argument is returned from the
environment?

Any other ideas?

Regards,
Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top