Module: Micro::Case::Flow
- Defined in:
- lib/micro/case/flow.rb,
lib/micro/case/flow/reducer.rb
Defined Under Namespace
Classes: Reducer
Class Method Summary collapse
-
.included(base) ⇒ Object
Deprecated: Classes with flows are now defined via ‘Micro::Case` inheritance.
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
Deprecated: Classes with flows are now defined via ‘Micro::Case` inheritance
33 34 35 36 37 38 39 40 41 |
# File 'lib/micro/case/flow.rb', line 33 def self.included(base) warn 'Deprecation: Micro::Case::Flow mixin is being deprecated, please use `Micro::Case` inheritance instead.' def base.flow_reducer; Reducer; end base.extend(ClassMethods) base.class_eval(CONSTRUCTOR) end |
Instance Method Details
#call ⇒ Object
43 44 45 |
# File 'lib/micro/case/flow.rb', line 43 def call self.class.__flow__.call(@options) end |