Class: Pact::KeyNotFound
- Inherits:
-
Object
- Object
- Pact::KeyNotFound
- Defined in:
- lib/pact/shared/key_not_found.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
- #empty? ⇒ Boolean
- #eql?(other) ⇒ Boolean
- #to_json(options = {}) ⇒ Object
- #to_s ⇒ Object
Instance Method Details
#==(other) ⇒ Object
3 4 5 |
# File 'lib/pact/shared/key_not_found.rb', line 3 def == other other.is_a? KeyNotFound end |
#empty? ⇒ Boolean
19 20 21 |
# File 'lib/pact/shared/key_not_found.rb', line 19 def empty? true end |
#eql?(other) ⇒ Boolean
7 8 9 |
# File 'lib/pact/shared/key_not_found.rb', line 7 def eql? other self == other end |
#to_json(options = {}) ⇒ Object
15 16 17 |
# File 'lib/pact/shared/key_not_found.rb', line 15 def to_json = {} to_s end |
#to_s ⇒ Object
11 12 13 |
# File 'lib/pact/shared/key_not_found.rb', line 11 def to_s "<key not found>" end |