mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
nodoc AS::Deprecation::InstanceDelegator class [ci skip]
This commit is contained in:
parent
abdfffa213
commit
d168d234e3
1 changed files with 3 additions and 3 deletions
|
@ -3,13 +3,13 @@ require 'active_support/core_ext/module/delegation'
|
|||
|
||||
module ActiveSupport
|
||||
class Deprecation
|
||||
module InstanceDelegator
|
||||
module InstanceDelegator # :nodoc:
|
||||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
base.public_class_method :new
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
module ClassMethods # :nodoc:
|
||||
def include(included_module)
|
||||
included_module.instance_methods.each { |m| method_added(m) }
|
||||
super
|
||||
|
@ -21,4 +21,4 @@ module ActiveSupport
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue