Skip to content

Commit

Permalink
Fixed typos in activesupport [ci skip]
Browse files Browse the repository at this point in the history
- eval'ed to eval'd in accordance with #10889
- tried to improve statement about compiling Procs into methods using define_method
  • Loading branch information
prathamesh-sonpatki committed Jun 9, 2013
1 parent 8b82387 commit 442c52e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activesupport/lib/active_support/callbacks.rb
Expand Up @@ -403,8 +403,8 @@ def invert_lambda(l)
# 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.
Expand Down Expand Up @@ -648,7 +648,7 @@ def reset_callbacks(symbol)
#
# * <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'
Expand Down

0 comments on commit 442c52e

Please sign in to comment.