Class: Lsp::Location
- Inherits:
-
Struct
- Object
- Struct
- Lsp::Location
- Defined in:
- lib/lsp.rb
Instance Attribute Summary collapse
-
#range ⇒ Object
Returns the value of attribute range.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#range ⇒ Object
Returns the value of attribute range
39 40 41 |
# File 'lib/lsp.rb', line 39 def range @range end |
#uri ⇒ Object
Returns the value of attribute uri
39 40 41 |
# File 'lib/lsp.rb', line 39 def uri @uri end |
Instance Method Details
#to_h ⇒ Object
40 41 42 43 44 45 |
# File 'lib/lsp.rb', line 40 def to_h { uri: uri, range: range.to_h, } end |