aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-23 18:29:01 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-23 18:37:45 +0900
commit508edbc04f6bcd322ec1ce082c345e1828d0ae74 (patch)
treedb4be10f653a863ccbb77a764de69c4312af6554 /activesupport
parent19966242163611e61d45ee4033f28aa6f967906a (diff)
downloadrails-508edbc04f6bcd322ec1ce082c345e1828d0ae74.tar.gz
rails-508edbc04f6bcd322ec1ce082c345e1828d0ae74.tar.bz2
rails-508edbc04f6bcd322ec1ce082c345e1828d0ae74.zip
fix formatting of `define_callbacks` doc [ci skip]
Single backticks don't work with rdoc.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/callbacks.rb8
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!