Class: SmartCore::Initializer::Extensions::ExtInit Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/smart_core/initializer/extensions/ext_init.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Instance Method Summary collapse

Methods inherited from Abstract

#dup

Constructor Details

#initialize(extender) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • extender (Proc)

Since:

  • 0.1.0



11
12
13
# File 'lib/smart_core/initializer/extensions/ext_init.rb', line 11

def initialize(extender)
  @extender = extender
end

Instance Method Details

#call(instance) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • instance (Any)

Since:

  • 0.1.0



20
21
22
# File 'lib/smart_core/initializer/extensions/ext_init.rb', line 20

def call(instance)
  extender.call(instance)
end