Class: RubyLsp::Scope::Local
- Inherits:
-
Object
- Object
- RubyLsp::Scope::Local
- Defined in:
- lib/ruby_lsp/scope.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
: Symbol.
Instance Method Summary collapse
-
#initialize(type) ⇒ Local
constructor
: (Symbol type) -> void.
Constructor Details
#initialize(type) ⇒ Local
: (Symbol type) -> void
38 39 40 |
# File 'lib/ruby_lsp/scope.rb', line 38 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
: Symbol
35 36 37 |
# File 'lib/ruby_lsp/scope.rb', line 35 def type @type end |