Warning: method redefined; discarding old <=>

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?

Ralph S. 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