Method: Pact::Configuration#register_diff_formatter

Defined in:
lib/pact/configuration.rb

#register_diff_formatter(content_type, diff_formatter) ⇒ Object



83
84
85
86
# File 'lib/pact/configuration.rb', line 83

def register_diff_formatter content_type, diff_formatter
  key = content_type_regexp_for content_type
  @diff_formatter_registrations << [key, diff_formatter_for(diff_formatter)]
end