Exception: BareTest::InvalidSelectors
- Inherits:
-
StandardError
- Object
- StandardError
- BareTest::InvalidSelectors
- Defined in:
- lib/baretest/invalidselectors.rb
Overview
Raised by BareTest.process_selectors if one or more invalid selectors are passed in.
Instance Attribute Summary collapse
-
#selectors ⇒ Object
readonly
The selectors that are invalid.
Instance Method Summary collapse
-
#initialize(selectors) ⇒ InvalidSelectors
constructor
Generates a standard message.
Constructor Details
#initialize(selectors) ⇒ InvalidSelectors
Generates a standard message
19 20 21 22 |
# File 'lib/baretest/invalidselectors.rb', line 19 def initialize(selectors) # :nodoc: @selectors = selectors super("Invalid selectors: #{selectors.join(', ')}") end |
Instance Attribute Details
#selectors ⇒ Object (readonly)
The selectors that are invalid
16 17 18 |
# File 'lib/baretest/invalidselectors.rb', line 16 def selectors @selectors end |