Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8988

Show
Ignore:
Timestamp:
03/07/08 11:17:38 (4 months ago)
Author:
pratik
Message:

Fixed typos in ActiveSupport::Callbacks documentation. Closes #11254

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/callbacks.rb

    r8984 r8988  
    33  # before or after an alteration of the object state. 
    44  # 
    5   # This mixing this module allos you to define callbacks in your class. 
     5  # Mixing in this module allows you to define callbacks in your class. 
    66  # 
    77  # Example: 
     
    166166    # Runs all the callbacks defined for the given options.  
    167167    #  
    168     # If a block is given it will be called after each callback reciving as arguments: 
     168    # If a block is given it will be called after each callback receiving as arguments: 
    169169    # 
    170170    #  * the result from the callback 
    171171    #  * the object which has the callback 
    172172    # 
    173     # If the result from the block evaluates as false, callback chain is stopped. 
     173    # If the result from the block evaluates to false, the callback chain is stopped. 
    174174    # 
    175175    # Example: