diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-06-09 14:23:45 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-06-09 14:23:45 +0530 |
commit | 442c52e8150e2445e7a1654fd5ac0845bdbd6e4c (patch) | |
tree | 62603d5aa3d974a7ff4f18007853f94a09b4cba3 /activesupport/lib | |
parent | 8b82387c97e60faff77c3db30e53abf2f94450d0 (diff) | |
download | rails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.tar.gz rails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.tar.bz2 rails-442c52e8150e2445e7a1654fd5ac0845bdbd6e4c.zip |
Fixed typos in activesupport [ci skip]
- eval'ed to eval'd in accordance with https://github.com/rails/rails/pull/10889
- tried to improve statement about compiling Procs into methods using define_method
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 85b7669353..0cfbed5588 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -403,8 +403,8 @@ module ActiveSupport # the same after this point: # # Symbols:: Already methods. - # Strings:: class_eval'ed into methods. - # Procs:: define_method'ed into methods. + # Strings:: class_eval'd into methods. + # Procs:: using define_method compiled into methods. # Objects:: # a method is created that calls the before_foo method # on the object. @@ -648,7 +648,7 @@ module ActiveSupport # # * <tt>:terminator</tt> - Determines when a before filter will halt the # callback chain, preventing following callbacks from being called and - # the event from being triggered. This is a string to be eval'ed. The + # the event from being triggered. This is a string to be eval'd. The # result of the callback is available in the +result+ variable. # # define_callbacks :validate, terminator: 'result == false' |