Exception: Regexp::Scanner::PrematureEndError
- Inherits:
 - 
      ScannerError
      
        
- Object
 - StandardError
 - Parser::Error
 - ScannerError
 - Regexp::Scanner::PrematureEndError
 
 
- Defined in:
 - lib/regexp_parser/scanner.rb
 
Overview
Unexpected end of pattern
Instance Method Summary collapse
- 
  
    
      #initialize(where = '')  ⇒ PrematureEndError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PrematureEndError.
 
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  |