Changeset 8988
- Timestamp:
- 03/07/08 11:17:38 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/lib/active_support/callbacks.rb
r8984 r8988 3 3 # before or after an alteration of the object state. 4 4 # 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. 6 6 # 7 7 # Example: … … 166 166 # Runs all the callbacks defined for the given options. 167 167 # 168 # If a block is given it will be called after each callback rec iving as arguments:168 # If a block is given it will be called after each callback receiving as arguments: 169 169 # 170 170 # * the result from the callback 171 171 # * the object which has the callback 172 172 # 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. 174 174 # 175 175 # Example: