Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
read ruby's flag
Mohammad Khan
12/23/2005 4:33:00 PM
To read ruby's --verbose flag, I can read $VERBOSE from code,
What is the variable name to read '-W level' (warning level)?
Thanks,
Mohammad Khan
1 Answer
Antonio Cangiano
12/23/2005 11:50:00 PM
0
Mohammad Khan wrote:
> To read ruby's --verbose flag, I can read $VERBOSE from code,
> What is the variable name to read '-W level' (warning level)?
Hi Mohammad,
$-w (or $VERBOSE) will give you:
-W0 -> nil
No option or -W1 -> false
-W2 -> true
HTH
--
Antonio Cangiano
My Ruby blog:
http://www.antonioca...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
read ruby's flag
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password