Module: Kernel

Defined in:
lib/jekylltask.rb

Instance Method Summary collapse

Instance Method Details

#suppress_warningsObject



19
20
21
22
23
24
25
# File 'lib/jekylltask.rb', line 19

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