Class: RBS::InlineParser::Diagnostic::Base
- Inherits:
-
Object
- Object
- RBS::InlineParser::Diagnostic::Base
- Defined in:
- lib/rbs/inline_parser.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(location, message) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(location, message) ⇒ Base
Returns a new instance of Base.
24 25 26 27 |
# File 'lib/rbs/inline_parser.rb', line 24 def initialize(location, ) @location = location @message = end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
22 23 24 |
# File 'lib/rbs/inline_parser.rb', line 22 def location @location end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
22 23 24 |
# File 'lib/rbs/inline_parser.rb', line 22 def @message end |