Exception: Regexp::Scanner::PrematureEndError
- Inherits:
 - 
      ScannerError
      
        
- Object
 - StandardError
 - Parser::Error
 - ScannerError
 - Regexp::Scanner::PrematureEndError
 
 
- Defined in:
 - lib/regexp_parser/scanner/errors/premature_end_error.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.
      4 5 6  | 
    
      # File 'lib/regexp_parser/scanner/errors/premature_end_error.rb', line 4 def initialize(where = '') super "Premature end of pattern at #{where}" end  |