Exception: Regexp::Scanner::PrematureEndError

Inherits:
ScannerError
  • Object
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.



1559
1560
1561
# File 'lib/regexp_parser/scanner.rb', line 1559

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