Ticket #11254: typos_fixed.diff
| File typos_fixed.diff, 1.2 kB (added by ernesto.jimenez, 6 months ago) |
|---|
-
activesupport/lib/active_support/callbacks.rb
old new 2 2 # Callbacks are hooks into the lifecycle of an object that allow you to trigger logic 3 3 # before or after an alteration of the object state. 4 4 # 5 # This mixingthis module allos you to define callbacks in your class.5 # Mixing in this module allos you to define callbacks in your class. 6 6 # 7 7 # Example: 8 8 # class Storage … … 165 165 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: 176 176 # class Storage