aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-03-07 11:17:38 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-03-07 11:17:38 +0000
commit8a351648ab613d42bbbf44586cff8cdeccd181d4 (patch)
treecc1f1503b8282d1f159ddff76c9717311cdc176b /activesupport
parent011e4694107f294e2b57cd885f9917205fccdcff (diff)
downloadrails-8a351648ab613d42bbbf44586cff8cdeccd181d4.tar.gz
rails-8a351648ab613d42bbbf44586cff8cdeccd181d4.tar.bz2
rails-8a351648ab613d42bbbf44586cff8cdeccd181d4.zip
Fixed typos in ActiveSupport::Callbacks documentation. Closes #11254
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/callbacks.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index c463bfda54..9831e82319 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -2,7 +2,7 @@ module ActiveSupport
# Callbacks are hooks into the lifecycle of an object that allow you to trigger logic
# before or after an alteration of the object state.
#
- # This mixing this module allos you to define callbacks in your class.
+ # Mixing in this module allows you to define callbacks in your class.
#
# Example:
# class Storage
@@ -165,12 +165,12 @@ module ActiveSupport
# Runs all the callbacks defined for the given options.
#
- # If a block is given it will be called after each callback reciving as arguments:
+ # If a block is given it will be called after each callback receiving as arguments:
#
# * the result from the callback
# * the object which has the callback
#
- # If the result from the block evaluates as false, callback chain is stopped.
+ # If the result from the block evaluates to false, the callback chain is stopped.
#
# Example:
# class Storage