fix formatting of define_callbacks
doc [ci skip]
Single backticks don't work with rdoc.
This commit is contained in:
parent
1996624216
commit
508edbc04f
@ -738,11 +738,11 @@ def reset_callbacks(name)
|
||||
#
|
||||
# ===== 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!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user