Exception: RBI::ParseError
- Extended by:
- T::Sig
- Defined in:
- lib/rbi/parser.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(message, location) ⇒ ParseError
constructor
A new instance of ParseError.
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(, location) super() @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
11 12 13 |
# File 'lib/rbi/parser.rb', line 11 def location @location end |