module Kernel
Public Instance Methods
silence_warnings() { || ... }
click to toggle source
# File lib/mail/sympa.rb, line 3 def silence_warnings with_warnings(nil) { yield } end
with_warnings(flag) { || ... }
click to toggle source
# File lib/mail/sympa.rb, line 7 def with_warnings(flag) old_verbose, $VERBOSE = $VERBOSE, flag yield ensure $VERBOSE = old_verbose end