diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-26 17:22:30 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-27 14:01:29 +0900 |
commit | a2f2d2617b144b616700af4fe0f4c184d15cee66 (patch) | |
tree | ff081d373ec1fd76feb9022e180b7bd684b829f4 /activemodel | |
parent | 46c2e93051ab33157c584292a2743f9482e99582 (diff) | |
download | rails-a2f2d2617b144b616700af4fe0f4c184d15cee66.tar.gz rails-a2f2d2617b144b616700af4fe0f4c184d15cee66.tar.bz2 rails-a2f2d2617b144b616700af4fe0f4c184d15cee66.zip |
Use tt in doc for ActiveRecord [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/callbacks.rb | 4 |
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 = { |