aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorScott Latham <silatham99@gmail.com>2016-03-30 11:32:44 -0700
committerScott Latham <silatham99@gmail.com>2016-03-30 11:33:19 -0700
commit06a19b0166a0856a6effa2d0f82fa0b578c12ef0 (patch)
treefab13c1147afcaaabc356fd9888fcbe269a43143 /activesupport/lib
parentebaf95b276c4e89c82f6c79ac23e969d9400a068 (diff)
downloadrails-06a19b0166a0856a6effa2d0f82fa0b578c12ef0.tar.gz
rails-06a19b0166a0856a6effa2d0f82fa0b578c12ef0.tar.bz2
rails-06a19b0166a0856a6effa2d0f82fa0b578c12ef0.zip
Replace _meth with _method to remove ambiguity
[ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/callbacks.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index e6baddf5db..d878d44d02 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -571,15 +571,15 @@ module ActiveSupport
# Install a callback for the given event.
#
- # set_callback :save, :before, :before_meth
- # set_callback :save, :after, :after_meth, if: :condition
+ # set_callback :save, :before, :before_method
+ # set_callback :save, :after, :after_method, if: :condition
# set_callback :save, :around, ->(r, block) { stuff; result = block.call; stuff }
#
# The second argument indicates whether the callback is to be run +:before+,
# +:after+, or +:around+ the event. If omitted, +:before+ is assumed. This
# means the first example above can also be written as:
#
- # set_callback :save, :before_meth
+ # set_callback :save, :before_method
#
# The callback can be specified as a symbol naming an instance method; as a
# proc, lambda, or block; as a string to be instance evaluated(deprecated); or as an