Class: SmartCore::Operation::InstanceBuilder Private

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_core/operation/instance_builder.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.5.0

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operation) ⇒ 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:

Since:

  • 0.5.0



22
23
24
# File 'lib/smart_core/operation/instance_builder.rb', line 22

def initialize(operation)
  @operation = operation
end

Class Method Details

.call(operation) ⇒ 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:

Since:

  • 0.5.0



12
13
14
# File 'lib/smart_core/operation/instance_builder.rb', line 12

def call(operation)
  new(operation).call
end

Instance Method Details

#callvoid

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.

Since:

  • 0.5.0



30
31
32
# File 'lib/smart_core/operation/instance_builder.rb', line 30

def call
  make_operation_caller_yieldable
end