Module: Kernel

Defined in:
lib/rspec/core/extensions/kernel.rb

Instance Method Summary collapse

Instance Method Details

#debugger(*args) ⇒ Object



2
3
4
# File 'lib/rspec/core/extensions/kernel.rb', line 2

def debugger(*args)
  (RSpec.configuration.error_stream || $stderr).puts "\n***** debugger statement ignored, use -d or --debug option to enable debugging\n#{caller(0)[1]}"
end