Exception: Protor::InvalidLabelNameError
- Inherits:
-
StandardError
- Object
- StandardError
- Protor::InvalidLabelNameError
- Defined in:
- lib/protor/entry.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidLabelNameError
constructor
A new instance of InvalidLabelNameError.
Constructor Details
#initialize(message) ⇒ InvalidLabelNameError
Returns a new instance of InvalidLabelNameError.
50 51 52 |
# File 'lib/protor/entry.rb', line 50 def initialize() super("Invalid label name #{message}, please satisfy /^[a-zA-Z_][a-zA-Z0-9_]*$/") end |