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.
56 57 58 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 56 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.
27 28 29 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 27 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.
183 184 185 186 187 188 189 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 183 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.
48 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 48 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.
65 66 67 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 65 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.
110 111 112 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 110 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.
119 120 121 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 119 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.
128 129 130 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 128 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.
92 93 94 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 92 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.
137 138 139 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 137 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.
146 147 148 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 146 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.
155 156 157 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 155 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.
74 75 76 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 74 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.
83 84 85 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 83 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.
34 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 34 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.
101 102 103 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 101 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.
173 174 175 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 173 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.
164 165 166 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 164 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.
41 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/printers/base.rb', line 41 delegate :result, to: :matcher |