class Pact::Matchers::UnixDiffFormatter::RegexpDecorator
Public Class Methods
new(regexp)
click to toggle source
# File lib/pact/matchers/unix_diff_formatter.rb, line 140 def initialize regexp @regexp = regexp end
Public Instance Methods
as_json()
click to toggle source
# File lib/pact/matchers/unix_diff_formatter.rb, line 148 def as_json @regexp.inspect end
to_json(options = {})
click to toggle source
# File lib/pact/matchers/unix_diff_formatter.rb, line 144 def to_json options = {} @regexp.inspect end