Exception: Regexp::Syntax::InvalidVersionNameError
- Inherits:
-
SyntaxError
- Object
- StandardError
- Parser::Error
- SyntaxError
- Regexp::Syntax::InvalidVersionNameError
- Defined in:
- lib/regexp_parser/syntax/version_lookup.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidVersionNameError
constructor
A new instance of InvalidVersionNameError.
Constructor Details
#initialize(name) ⇒ InvalidVersionNameError
Returns a new instance of InvalidVersionNameError.
7 8 9 |
# File 'lib/regexp_parser/syntax/version_lookup.rb', line 7 def initialize(name) super "Invalid version name '#{name}'. Expected format is '#{VERSION_FORMAT}'" end |