Class: PactBroker::Matrix::IgnoredReason
- Inherits:
-
Object
- Object
- PactBroker::Matrix::IgnoredReason
- Defined in:
- lib/pact_broker/matrix/reason.rb
Instance Attribute Summary collapse
-
#root_reason ⇒ Object
readonly
Returns the value of attribute root_reason.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(root_reason) ⇒ IgnoredReason
constructor
todo equals.
- #type ⇒ Object
Constructor Details
#initialize(root_reason) ⇒ IgnoredReason
todo equals
29 30 31 |
# File 'lib/pact_broker/matrix/reason.rb', line 29 def initialize(root_reason) @root_reason = root_reason end |
Instance Attribute Details
#root_reason ⇒ Object (readonly)
Returns the value of attribute root_reason.
25 26 27 |
# File 'lib/pact_broker/matrix/reason.rb', line 25 def root_reason @root_reason end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 |
# File 'lib/pact_broker/matrix/reason.rb', line 33 def == other other.is_a?(IgnoredReason) && other.root_reason == self.root_reason end |
#type ⇒ Object
37 38 39 |
# File 'lib/pact_broker/matrix/reason.rb', line 37 def type :info end |