Class: CabezaDeTermo::JsonSpec::AbstractExpectation

Inherits:
Object
  • Object
show all
Defined in:
lib/cabeza-de-termo/json-spec/expectations/abstract-expectation.rb

Direct Known Subclasses

Expectation

Instance Method Summary collapse

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

#explainObject

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 failed_message_on(value_holder)
	CdT.subclass_responsibility
end

#is_satisfied_by?(value_holder) ⇒ Boolean

Evaluating

Returns:

  • (Boolean)


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