Top Level Namespace
Defined Under Namespace
Modules: JavaIO
Instance Method Summary collapse
Instance Method Details
#suppress_all_warnings ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/logstash/filters/geoip2.rb', line 17 def suppress_all_warnings old_verbose = $VERBOSE begin $VERBOSE = nil yield if block_given? ensure # always re-set to old value, even if block raises an exception $VERBOSE = old_verbose end end |