Module: Kernel

Defined in:
server/lib/game_machine/console/bundle.rb

Instance Method Summary collapse

Instance Method Details

#suppress_warningsObject


11
12
13
14
15
16
17
# File 'server/lib/game_machine/console/bundle.rb', line 11

def suppress_warnings
  original_verbosity = $VERBOSE
  $VERBOSE = nil
  result = yield
  $VERBOSE = original_verbosity
  return result
end