Class: ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Printers::Base
- Inherits:
-
Object
- Object
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Printers::Base
- Includes:
- Support::AbstractMethod, Support::Delegate
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_got_parts.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_got_step_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_parts.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_got_service_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_code_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_data_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_step_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_status_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_message_part.rb,
lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base/commands/generate_expected_service_part.rb
Defined Under Namespace
Modules: Commands
Instance Attribute Summary collapse
- #matcher ⇒ Object readonly private
Instance Method Summary collapse
- #==(other) ⇒ Boolean? private
- #chain ⇒ ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Chain private
- #description ⇒ String private
- #expected_code_part ⇒ String private
- #expected_data_part ⇒ String private
- #expected_message_part ⇒ String private
- #expected_parts ⇒ String private
- #expected_service_part ⇒ String private
- #expected_status_part ⇒ String private
- #expected_step_part ⇒ String private
- #failure_message ⇒ String private
- #failure_message_when_negated ⇒ String private
- #got_jsend_attributes_part ⇒ String private
- #got_parts ⇒ String private
- #got_service_part ⇒ String private
- #got_step_part ⇒ String private
- #initialize(matcher:) ⇒ void constructor private
- #result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result private
Methods included from Support::AbstractMethod
Methods included from Support::Delegate::ClassMethodsForForwardable
Constructor Details
#initialize(matcher:) ⇒ 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.
61 62 63 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 61 def initialize(matcher:) @matcher = matcher end |
Instance Attribute Details
#matcher ⇒ 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.
32 33 34 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 32 def matcher @matcher end |
Instance Method Details
#==(other) ⇒ 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.
188 189 190 191 192 193 194 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 188 def ==(other) return unless other.instance_of?(self.class) return false if matcher != other.matcher 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.
53 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 53 delegate :chain, to: :matcher |
#description ⇒ String
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.
70 71 72 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 70 def description expected_parts end |
#expected_code_part ⇒ String
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.
115 116 117 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 115 def expected_code_part Commands::GenerateExpectedCodePart[printer: self] end |
#expected_data_part ⇒ String
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.
124 125 126 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 124 def expected_data_part Commands::GenerateExpectedDataPart[printer: self] end |
#expected_message_part ⇒ String
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.
133 134 135 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 133 def Commands::GenerateExpectedMessagePart[printer: self] end |
#expected_parts ⇒ String
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.
97 98 99 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 97 def expected_parts Commands::GenerateExpectedParts[printer: self] end |
#expected_service_part ⇒ String
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.
142 143 144 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 142 def expected_service_part Commands::GenerateExpectedServicePart[printer: self] end |
#expected_status_part ⇒ String
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.
151 152 153 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 151 def expected_status_part Commands::GenerateExpectedStatusPart[printer: self] end |
#expected_step_part ⇒ String
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.
160 161 162 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 160 def expected_step_part Commands::GenerateExpectedStepPart[printer: self] end |
#failure_message ⇒ String
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.
79 80 81 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 79 def "expected result to be\n#{default_text}" end |
#failure_message_when_negated ⇒ String
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.
88 89 90 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 88 def "expected result NOT to be\n#{default_text}" end |
#got_jsend_attributes_part ⇒ String
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.
39 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 39 abstract_method :got_jsend_attributes_part |
#got_parts ⇒ String
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.
106 107 108 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 106 def got_parts Commands::GenerateGotParts[printer: self] end |
#got_service_part ⇒ String
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.
178 179 180 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 178 def got_service_part Commands::GenerateGotServicePart[printer: self] end |
#got_step_part ⇒ String
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.
169 170 171 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 169 def got_step_part Commands::GenerateGotStepPart[printer: self] end |
#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.
46 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 46 delegate :result, to: :matcher |