Class: Solargraph::Pin::Symbol

Inherits:
Base
  • Object
show all
Defined in:
lib/solargraph/pin/symbol.rb

Instance Attribute Summary

Attributes inherited from Base

#namespace, #node, #source

Instance Method Summary collapse

Methods inherited from Base

#docstring, #filename, #initialize, #kind, #parameters, #path, #return_type, #signature, #value

Constructor Details

This class inherits a constructor from Solargraph::Pin::Base

Instance Method Details

#nameObject



4
5
6
# File 'lib/solargraph/pin/symbol.rb', line 4

def name
  @name ||= ":#{node.children[0]}"
end