lib/active_model/callbacks.rb in activemodel-6.1.7.10 vs lib/active_model/callbacks.rb in activemodel-7.0.0.alpha1
- old
+ new
@@ -61,10 +61,10 @@
# your class.
#
# NOTE: Calling the same callback multiple times will overwrite previous callback definitions.
#
module Callbacks
- def self.extended(base) #:nodoc:
+ def self.extended(base) # :nodoc:
base.class_eval do
include ActiveSupport::Callbacks
end
end