From: Antonio Cangiano Date: 2005-12-24T02:52:50+09:00 Subject: Re: read ruby's flag 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.antoniocangiano.com