class Pact::StringWithMatchingRules

Attributes

matching_rules[R]
pact_specification_version[R]

Public Class Methods

new(string, pact_specification_version, matching_rules = {}) click to toggle source
Calls superclass method
# File lib/pact/consumer_contract/string_with_matching_rules.rb, line 6
def initialize string, pact_specification_version, matching_rules = {}
  super(string)
  @matching_rules = matching_rules
  @pact_specification_version = pact_specification_version
end

Public Instance Methods

to_s() click to toggle source

How can we show the matching rules too?

Calls superclass method
# File lib/pact/consumer_contract/string_with_matching_rules.rb, line 13
def to_s
  super
end