Class: ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Validator::Commands::ValidateResultStep
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Validator::Commands::ValidateResultStep
- Includes:
- Support::Delegate
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb
Instance Attribute Summary collapse
- #validator ⇒ Object readonly private
Instance Method Summary collapse
- #call ⇒ Boolean private
- #chain ⇒ ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Chain private
- #initialize(validator:) ⇒ void constructor private
- #matcher ⇒ ConvenientService::RSpec::Matchers::Classes::Results::Base private
- #result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result private
- #step ⇒ ConvenientService::Service, Symbol private
- #step_index ⇒ Integer private
Methods included from Support::Delegate::ClassMethodsForForwardable
Methods inherited from Support::Command
Constructor Details
#initialize(validator:) ⇒ 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.
69 70 71 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 69 def initialize(validator:) @validator = validator end |
Instance Attribute Details
#validator ⇒ Object (readonly)
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.
26 27 28 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 26 def validator @validator end |
Instance Method Details
#call ⇒ Boolean
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.
82 83 84 85 86 87 88 89 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 82 def call return false unless matcher.result return true unless chain.used_step? return false unless match_step? return match_step_index? if chain.used_step_index? true end |
#chain ⇒ ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Chain
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.
47 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 47 delegate :chain, to: :matcher |
#matcher ⇒ ConvenientService::RSpec::Matchers::Classes::Results::Base
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.
33 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 33 delegate :matcher, to: :validator |
#result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
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.
40 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 40 delegate :result, to: :matcher |
#step ⇒ ConvenientService::Service, Symbol
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.
54 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 54 delegate :step, to: :chain |
#step_index ⇒ Integer
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.
61 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result_step.rb', line 61 delegate :step_index, to: :chain |