Class: SmartCore::Operation
- Inherits:
-
Object
- Object
- SmartCore::Operation
- Includes:
- Interface::Callable, Interface::DI, Interface::Result
- Defined in:
- lib/smart_core/operation.rb,
lib/smart_core/operation/errors.rb,
lib/smart_core/operation/version.rb
Overview
rubocop:disable Style/StaticClass
Defined Under Namespace
Modules: ClassConstructor, Interface, Result Classes: InstanceBuilder
Constant Summary collapse
- Error =
Class.new(SmartCore::Error)
- ArgumentError =
Class.new(SmartCore::ArgumentError)
- ResultCoreMethodOverlapError =
Class.new(Error)
- VERSION =
'0.2.0'
Class Method Summary collapse
- .inherited(child_klass) ⇒ void private
Instance Method Summary collapse
Methods included from Interface::DI
Methods included from Interface::Callable
Methods included from Interface::Result
#Callback, #Failure, #Fatal, #Success
Class Method Details
.inherited(child_klass) ⇒ 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.
26 27 28 29 |
# File 'lib/smart_core/operation.rb', line 26 def inherited(child_klass) SmartCore::Operation::ClassConstructor.construct(child_klass) super end |
Instance Method Details
#call ⇒ SmartCore::Operation::Result::Success, ...
46 47 48 |
# File 'lib/smart_core/operation.rb', line 46 def call Success() end |