diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/proc.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/proc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/proc.rb b/activesupport/lib/active_support/core_ext/proc.rb index cd63740940..166c3855a0 100644 --- a/activesupport/lib/active_support/core_ext/proc.rb +++ b/activesupport/lib/active_support/core_ext/proc.rb @@ -3,7 +3,7 @@ require "active_support/deprecation" class Proc #:nodoc: def bind(object) - ActiveSupport::Deprecation.warn 'Proc#bind is deprecated and will be removed in future versions', caller + ActiveSupport::Deprecation.warn 'Proc#bind is deprecated and will be removed in future versions' block, time = self, Time.now object.class_eval do |