Can I tell ruby to ignore warnings from a given .rb file?
$VERBOSE = nil
disables all warnings globally, so it does not work on a per file basis.
And I do not use commandline switches, I need this option in a given .rb
I googled and searched but found nothing. Ruby does not allow the
developer to ignore warnings from individual files? That is very bad.
The files I want to ignore are written by other people, not me. I have
no time to fix these warnings, I simply want ruby to ignore spamming me
with this useless information - but ONLY for those .rb files I define.