aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/callbacks.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-27 15:34:04 +0900
committerGitHub <noreply@github.com>2017-08-27 15:34:04 +0900
commit456c9e721940dd9e134c96c0e638f41532dfb6a6 (patch)
tree7a319d95144ba23fd09c37f7f38c559ac244e804 /activemodel/lib/active_model/callbacks.rb
parent6bc2ac64cea6e148c84356b998314b61a9405754 (diff)
parenta2f2d2617b144b616700af4fe0f4c184d15cee66 (diff)
downloadrails-456c9e721940dd9e134c96c0e638f41532dfb6a6.tar.gz
rails-456c9e721940dd9e134c96c0e638f41532dfb6a6.tar.bz2
rails-456c9e721940dd9e134c96c0e638f41532dfb6a6.zip
Merge pull request #30429 from yhirano55/use_tt_in_doc_for_activerecord
Use tt in doc for ActiveRecord [ci skip]
Diffstat (limited to 'activemodel/lib/active_model/callbacks.rb')
-rw-r--r--activemodel/lib/active_model/callbacks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb
index 5768eec7f5..8fa9680cb1 100644
--- a/activemodel/lib/active_model/callbacks.rb
+++ b/activemodel/lib/active_model/callbacks.rb
@@ -103,8 +103,8 @@ module ActiveModel
# end
# end
#
- # NOTE: +method_name+ passed to `define_model_callbacks` must not end with
- # `!`, `?` or `=`.
+ # NOTE: +method_name+ passed to define_model_callbacks must not end with
+ # <tt>!</tt>, <tt>?</tt> or <tt>=</tt>.
def define_model_callbacks(*callbacks)
options = callbacks.extract_options!
options = {