Exception: Protor::InvalidNameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/protor/entry.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidNameError

Returns a new instance of InvalidNameError.



38
39
40
# File 'lib/protor/entry.rb', line 38

def initialize(message)
  super("Invalid name #{message}, please satisfy /^[a-zA-Z_:][a-zA-Z0-9_:]+$/")
end