Module: SmartCore::Operation::Interface::Callable::ClassMethods Private

Defined in:
lib/smart_core/operation/interface/callable.rb

Overview

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

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#call(*arguments, &block) ⇒ Any

Parameters:

  • arguments (Array<Any>)
  • block (Block)

Returns:

  • (Any)

Since:

  • 0.1.0



26
27
28
# File 'lib/smart_core/operation/interface/callable.rb', line 26

def call(*arguments, &block)
  new(*arguments).call(&block)
end