Sha256: 695e619b3c0c10f8a9b54c629bc2aa0067a381f6930af33a8f4644ed8094eef8

Contents?: true

Size: 231 Bytes

Versions: 16

Compression:

Stored size: 231 Bytes

Contents

module Kernel
  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 unless respond_to?(:debugger)
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
rspec-core-2.7.0.rc1 lib/rspec/core/extensions/kernel.rb
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/kernel.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.4 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.3 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.3.beta1 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.2.rc lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.0 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.0.rc6 lib/rspec/core/extensions/kernel.rb
rspec-core-2.5.2 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.0.rc4 lib/rspec/core/extensions/kernel.rb
rspec-core-2.6.0.rc2 lib/rspec/core/extensions/kernel.rb
rspec-core-2.5.1 lib/rspec/core/extensions/kernel.rb
rspec-core-2.5.0 lib/rspec/core/extensions/kernel.rb
rspec-core-2.4.0 lib/rspec/core/extensions/kernel.rb
rspec-core-2.3.1 lib/rspec/core/extensions/kernel.rb