Exception: Regexp::Scanner::PrematureEndError

Inherits:
ScannerError show all
Defined in:
lib/regexp_parser/scanner.rb

Overview

Unexpected end of pattern

Instance Method Summary collapse

Constructor Details

#initialize(where = '') ⇒ PrematureEndError

Returns a new instance of PrematureEndError.



26
27
28
# File 'lib/regexp_parser/scanner.rb', line 26

def initialize(where = '')
  super "Premature end of pattern at #{where}"
end