Module: ActiveSupport::Deprecation::InstanceDelegator

Included in:
ActiveSupport::Deprecation
Defined in:
lib/active_support/deprecation/instance_delegator.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, OverrideDelegators

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
# File 'lib/active_support/deprecation/instance_delegator.rb', line 8

def self.included(base)
  base.extend(ClassMethods)
  base.singleton_class.prepend(OverrideDelegators)
  base.public_class_method :new
end