diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-10-29 14:43:25 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-11-09 14:49:12 -0500 |
commit | 17dee01b6f2186888629859fe2e99232225ae5ea (patch) | |
tree | 30b501959020d04d13186c246b699531e9640046 /activesupport/lib | |
parent | afc129e2707daa0de1dd85c0796a1f9d73e7107f (diff) | |
download | rails-17dee01b6f2186888629859fe2e99232225ae5ea.tar.gz rails-17dee01b6f2186888629859fe2e99232225ae5ea.tar.bz2 rails-17dee01b6f2186888629859fe2e99232225ae5ea.zip |
Fix Ruby warning: method redefined; discarding old breakpoint
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/kernel/debugger.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel/debugger.rb b/activesupport/lib/active_support/core_ext/kernel/debugger.rb index 0813a51383..59e03e3df7 100644 --- a/activesupport/lib/active_support/core_ext/kernel/debugger.rb +++ b/activesupport/lib/active_support/core_ext/kernel/debugger.rb @@ -7,6 +7,7 @@ module Kernel end end + undef :breakpoint if respond_to?(:breakpoint) def breakpoint message = "\n***** The 'breakpoint' command has been renamed 'debugger' -- please change *****\n" defined?(Rails) ? Rails.logger.info(message) : $stderr.puts(message) |