Class: PactBroker::Matrix::QueryResults
- Inherits:
-
Array
- Object
- Array
- PactBroker::Matrix::QueryResults
- Defined in:
- lib/pact_broker/matrix/query_results.rb
Instance Attribute Summary collapse
-
#considered_rows ⇒ Object
readonly
Returns the value of attribute considered_rows.
-
#ignored_rows ⇒ Object
readonly
Returns the value of attribute ignored_rows.
-
#integrations ⇒ Object
readonly
Returns the value of attribute integrations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#resolved_ignore_selectors ⇒ Object
readonly
Returns the value of attribute resolved_ignore_selectors.
-
#resolved_selectors ⇒ Object
readonly
Returns the value of attribute resolved_selectors.
-
#selectors ⇒ Object
readonly
Returns the value of attribute selectors.
Instance Method Summary collapse
-
#initialize(considered_rows, ignored_rows, selectors, options, resolved_selectors, resolved_ignore_selectors, integrations) ⇒ QueryResults
constructor
rubocop: disable Metrics/ParameterLists.
-
#rows ⇒ Object
rubocop: enable Metrics/ParameterLists.
Constructor Details
#initialize(considered_rows, ignored_rows, selectors, options, resolved_selectors, resolved_ignore_selectors, integrations) ⇒ QueryResults
rubocop: disable Metrics/ParameterLists
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/pact_broker/matrix/query_results.rb', line 7 def initialize considered_rows, ignored_rows, selectors, , resolved_selectors, resolved_ignore_selectors, integrations super(considered_rows + ignored_rows) @considered_rows = considered_rows @ignored_rows = ignored_rows @selectors = selectors @options = @resolved_selectors = resolved_selectors @resolved_ignore_selectors = resolved_ignore_selectors @integrations = integrations end |
Instance Attribute Details
#considered_rows ⇒ Object (readonly)
Returns the value of attribute considered_rows.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def considered_rows @considered_rows end |
#ignored_rows ⇒ Object (readonly)
Returns the value of attribute ignored_rows.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def ignored_rows @ignored_rows end |
#integrations ⇒ Object (readonly)
Returns the value of attribute integrations.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def integrations @integrations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def @options end |
#resolved_ignore_selectors ⇒ Object (readonly)
Returns the value of attribute resolved_ignore_selectors.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def resolved_ignore_selectors @resolved_ignore_selectors end |
#resolved_selectors ⇒ Object (readonly)
Returns the value of attribute resolved_selectors.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def resolved_selectors @resolved_selectors end |
#selectors ⇒ Object (readonly)
Returns the value of attribute selectors.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def selectors @selectors end |
Instance Method Details
#rows ⇒ Object
rubocop: enable Metrics/ParameterLists
19 20 21 |
# File 'lib/pact_broker/matrix/query_results.rb', line 19 def rows to_a end |