提交 508edbc0 编写于 作者: Y yuuji.yaginuma

fix formatting of `define_callbacks` doc [ci skip]

Single backticks don't work with rdoc.
上级 19966242
......@@ -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!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册