Exception: Gem::RequestSet::Lockfile::ParseError
- Defined in:
 - lib/rubygems/request_set/lockfile.rb
 
Overview
Raised when a lockfile cannot be parsed
Instance Attribute Summary collapse
- 
  
    
      #column  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The column where the error was encountered.
 - 
  
    
      #line  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The line where the error was encountered.
 - 
  
    
      #path  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The location of the lock file.
 
Instance Method Summary collapse
- 
  
    
      #initialize(message, column, line, path)  ⇒ ParseError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Raises a ParseError with the given
messagewhich was encountered at alineandcolumnwhile parsing. 
Constructor Details
#initialize(message, column, line, path) ⇒ ParseError
Raises a ParseError with the given message which was encountered at a line and column while parsing.
      31 32 33 34 35 36  | 
    
      # File 'lib/rubygems/request_set/lockfile.rb', line 31 def initialize(, column, line, path) @line = line @column = column @path = path super "#{} (at line #{line} column #{column})" end  | 
  
Instance Attribute Details
#column ⇒ Object (readonly)
The column where the error was encountered
      15 16 17  | 
    
      # File 'lib/rubygems/request_set/lockfile.rb', line 15 def column @column end  | 
  
#line ⇒ Object (readonly)
The line where the error was encountered
      20 21 22  | 
    
      # File 'lib/rubygems/request_set/lockfile.rb', line 20 def line @line end  | 
  
#path ⇒ Object (readonly)
The location of the lock file
      25 26 27  | 
    
      # File 'lib/rubygems/request_set/lockfile.rb', line 25 def path @path end  |