Sha256: 58d52687b7c1322bc327f39b1706ca87909055d51ae895707f4729609a05a238
Contents?: true
Size: 242 Bytes
Versions: 6
Compression:
Stored size: 242 Bytes
Contents
module Kernel # Sets $VERBOSE to true for the duration of the block # and back to its original value afterwards. def enable_warnings old_verbose, $VERBOSE = $VERBOSE, true yield ensure $VERBOSE = old_verbose end end
Version data entries
6 entries across 6 versions & 1 rubygems