Class: Pact::DifferenceIndicator
- Inherits:
-
Object
- Object
- Pact::DifferenceIndicator
show all
- Includes:
- ActiveSupportSupport
- Defined in:
- lib/pact/matchers/difference_indicator.rb
Instance Method Summary
collapse
#fix_all_the_things, #fix_json_formatting, #fix_regexp, #remove_unicode, #warn_about_regexp
Instance Method Details
#==(other) ⇒ Object
8
9
10
|
# File 'lib/pact/matchers/difference_indicator.rb', line 8
def == other
other.class == self.class
end
|
#as_json(options = {}) ⇒ Object
20
21
22
|
# File 'lib/pact/matchers/difference_indicator.rb', line 20
def as_json options = {}
to_s
end
|
#eql?(other) ⇒ Boolean
12
13
14
|
# File 'lib/pact/matchers/difference_indicator.rb', line 12
def eql? other
self == other
end
|
#to_json(options = {}) ⇒ Object
16
17
18
|
# File 'lib/pact/matchers/difference_indicator.rb', line 16
def to_json options = {}
remove_unicode as_json.to_json(options)
end
|