Class: CabezaDeTermo::JsonSpec::AbstractExpectation
- Inherits:
-
Object
- Object
- CabezaDeTermo::JsonSpec::AbstractExpectation
- Defined in:
- lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#accept_walker(expression_walker) ⇒ Object
Walking.
-
#explain ⇒ Object
Explaining.
-
#failed_message_on(value_holder) ⇒ Object
Message format.
-
#is_satisfied_by?(value_holder) ⇒ Boolean
Evaluating.
- #set_expectation_method(expectation_method) ⇒ Object
-
#set_json_spec(json_spec) ⇒ Object
Accessing.
Instance Method Details
#accept_walker(expression_walker) ⇒ Object
Walking
28 29 30 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 28 def accept_walker(expression_walker) CdT.subclass_responsibility end |
#explain ⇒ Object
Explaining
34 35 36 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 34 def explain() CdT.subclass_responsibility end |
#failed_message_on(value_holder) ⇒ Object
Message format
16 17 18 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 16 def (value_holder) CdT.subclass_responsibility end |
#is_satisfied_by?(value_holder) ⇒ Boolean
Evaluating
22 23 24 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 22 def is_satisfied_by?(value_holder) CdT.subclass_responsibility end |
#set_expectation_method(expectation_method) ⇒ Object
10 11 12 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 10 def set_expectation_method(expectation_method) CdT.subclass_responsibility end |
#set_json_spec(json_spec) ⇒ Object
Accessing
6 7 8 |
# File 'lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb', line 6 def set_json_spec(json_spec) CdT.subclass_responsibility end |