Class: Actions::ActionWithSubPlans
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::ActionWithSubPlans
- Includes:
- Dynflow::Action::V2::WithSubPlans
- Defined in:
- app/lib/actions/action_with_sub_plans.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#humanized_output ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/lib/actions/action_with_sub_plans.rb', line 9 def humanized_output return unless counts_set? _('%{total} task(s), %{success} success, %{failed} fail') % { total: total_count, success: output[:success_count], failed: output[:failed_count] } end |
#plan(*_args) ⇒ Object
5 6 7 |
# File 'app/lib/actions/action_with_sub_plans.rb', line 5 def plan(*_args) raise NotImplementedError end |