Exception: RBI::ParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/rbi/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, location) ⇒ ParseError

: (String message, Loc location) -> void



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

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

Instance Attribute Details

#locationObject (readonly)

: Loc



9
10
11
# File 'lib/rbi/parser.rb', line 9

def location
  @location
end