Module: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::CanBeCompleted::Concern Private

Includes:
ConvenientService::Support::Concern
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_completed/concern.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:

  • 1.0.0

Instance Method Summary collapse

Methods included from ConvenientService::Support::Concern

included

Instance Method Details

#evaluated?Bool

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.

Returns:

  • (Bool)

Since:

  • 1.0.0



23
24
25
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_completed/concern.rb', line 23

def evaluated?
  Utils.to_bool(internals.cache[:evaluated])
end

#mark_as_evaluated!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.

Since:

  • 1.0.0



37
38
39
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_completed/concern.rb', line 37

def mark_as_evaluated!
  internals.cache[:evaluated] = true
end

#not_evaluated?Bool

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.

Returns:

  • (Bool)

Since:

  • 1.0.0



30
31
32
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_completed/concern.rb', line 30

def not_evaluated?
  !evaluated?
end