Exception: EmptyRegexError
- Inherits:
-
Exception
- Object
- Exception
- EmptyRegexError
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize ⇒ EmptyRegexError
constructor
A new instance of EmptyRegexError.
Constructor Details
#initialize ⇒ EmptyRegexError
Returns a new instance of EmptyRegexError.
2 3 4 |
# File 'lib/exceptions.rb', line 2 def initialize super 'The regex param should not be blank.' end |