From: Ralph Shnelvar on
[Note: parts of this message were removed to make it a legal post.]

I have monkey patched the spaceship operator in an FXRuby Class.

I _do_ want to do this .... so how do I turn off this warning?
From: Brian Candler on
Ralph Shnelvar wrote:
> I have monkey patched the spaceship operator in an FXRuby Class.
>
> I _do_ want to do this .... so how do I turn off this warning?

I'd just do:

begin
old_verbose = $VERBOSE
$VERBOSE = false
do_stuff
ensure
$VERBOSE = old_verbose
end
--
Posted via http://www.ruby-forum.com/.

 | 
Pages: 1
Prev: Send Text w/ Ruby
Next: Ruby exception overhead