Class: RubyLsp::Refactor::NodeContext
- Inherits:
-
Struct
- Object
- Struct
- RubyLsp::Refactor::NodeContext
- Defined in:
- lib/ruby_lsp/ruby_lsp_refactor/addon.rb
Overview
Lightweight value object that satisfies the interface expected by every listener: #uri and #range.
Instance Attribute Summary collapse
-
#range ⇒ Object
Returns the value of attribute range.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Attribute Details
#range ⇒ Object
Returns the value of attribute range
32 33 34 |
# File 'lib/ruby_lsp/ruby_lsp_refactor/addon.rb', line 32 def range @range end |
#uri ⇒ Object
Returns the value of attribute uri
32 33 34 |
# File 'lib/ruby_lsp/ruby_lsp_refactor/addon.rb', line 32 def uri @uri end |