Exception: RBI::ParseError

Inherits:
Error
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/rbi/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, location) ⇒ ParseError

Returns a new instance of ParseError.



14
15
16
17
# File 'lib/rbi/parser.rb', line 14

def initialize(message, location)
  super(message)
  @location = location
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



11
12
13
# File 'lib/rbi/parser.rb', line 11

def location
  @location
end