Tomas Matousek wrote:
No, Ruby doesn't have any such warning filter. You can place a flag on 
RubyContext (via GetOrCreateLibraryData) that remembers for the current runtime 
that the warning has already been reported.

I'd expect to do the same in JRuby; it would be a one-time warning for sure. Basically advice on first use of critical= that "you shouldn't be doing that, but I'll let you".

- Charlie
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to