Class: RubyLsp::Scope::Local

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_lsp/scope.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (readonly)

: Symbol



35
36
37
# File 'lib/ruby_lsp/scope.rb', line 35

def type
  @type
end