Module: ActiveSupport::Deprecation::InstanceDelegator

Included in:
ActiveSupport::Deprecation
Defined in:
activesupport/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


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

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