Class: PactBroker::Matrix::IgnoreSelectorDoesNotExist
- Defined in:
- lib/pact_broker/matrix/reason.rb
Instance Attribute Summary collapse
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(selector) ⇒ IgnoreSelectorDoesNotExist
constructor
A new instance of IgnoreSelectorDoesNotExist.
- #selectors ⇒ Object
- #to_s ⇒ Object
Methods inherited from Warning
Methods inherited from Reason
Constructor Details
#initialize(selector) ⇒ IgnoreSelectorDoesNotExist
Returns a new instance of IgnoreSelectorDoesNotExist.
119 120 121 |
# File 'lib/pact_broker/matrix/reason.rb', line 119 def initialize(selector) @selector = selector end |
Instance Attribute Details
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
117 118 119 |
# File 'lib/pact_broker/matrix/reason.rb', line 117 def selector @selector end |
Instance Method Details
#==(other) ⇒ Object
123 124 125 |
# File 'lib/pact_broker/matrix/reason.rb', line 123 def == other super(other) && selector == other.selector end |
#selectors ⇒ Object
127 128 129 |
# File 'lib/pact_broker/matrix/reason.rb', line 127 def selectors [selector] end |
#to_s ⇒ Object
131 132 133 |
# File 'lib/pact_broker/matrix/reason.rb', line 131 def to_s "#{self.class} selector=#{selector}" end |