From 8a351648ab613d42bbbf44586cff8cdeccd181d4 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Fri, 7 Mar 2008 11:17:38 +0000 Subject: Fixed typos in ActiveSupport::Callbacks documentation. Closes #11254 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/callbacks.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activesupport') 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 -- cgit v1.2.3