class PactBroker::Matrix::IgnoredReason

Attributes

root_reason[R]

Public Class Methods

new(root_reason) click to toggle source

todo equals

# File lib/pact_broker/matrix/reason.rb, line 29
def initialize(root_reason)
  @root_reason = root_reason
end

Public Instance Methods

==(other) click to toggle source
# File lib/pact_broker/matrix/reason.rb, line 33
def == other
  other.is_a?(IgnoredReason) && other.root_reason == self.root_reason
end
type() click to toggle source
# File lib/pact_broker/matrix/reason.rb, line 37
def type
  :info
end