diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-09-23 15:10:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 15:10:46 +0530 |
commit | 3b0da83c81047c783d1fe730691d367e286fbf1a (patch) | |
tree | 0a331afc75ad1c5f2d0d2f8345022b63c1568b34 /activesupport | |
parent | f08bb28702a2df5d2f9e3a354aa63cf7e738dc58 (diff) | |
parent | 508edbc04f6bcd322ec1ce082c345e1828d0ae74 (diff) | |
download | rails-3b0da83c81047c783d1fe730691d367e286fbf1a.tar.gz rails-3b0da83c81047c783d1fe730691d367e286fbf1a.tar.bz2 rails-3b0da83c81047c783d1fe730691d367e286fbf1a.zip |
Merge pull request #26594 from y-yagi/fix_formatting_of_define_callbacks
fix formatting of `define_callbacks` doc [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 3a2c7b0e74..6d39be1c1f 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -738,11 +738,11 @@ module ActiveSupport # # ===== Notes # - # +names+ passed to `define_callbacks` must not end with - # `!`, `?` or `=`. + # +names+ passed to +define_callbacks+ must not end with + # <tt>!</tt>, <tt>?</tt> or <tt>=</tt>. # - # Calling `define_callbacks` multiple times with the same +names+ will - # overwrite previous callbacks registered with `set_callback`. + # Calling +define_callbacks+ multiple times with the same +names+ will + # overwrite previous callbacks registered with +set_callback+. def define_callbacks(*names) options = names.extract_options! |