Class: Solargraph::Pin::Reference::Require

Inherits:
Solargraph::Pin::Reference show all
Defined in:
lib/solargraph/pin/reference/require.rb

Instance Attribute Summary

Attributes inherited from Base

#location, #name, #namespace, #path

Instance Method Summary collapse

Methods inherited from Base

#==, #comments, #completion_item_kind, #context, #deprecated?, #directives, #docstring, #filename, #infer, #macros, #maybe_directives?, #nearly?, #return_complex_type, #return_type, #symbol_kind, #to_s, #try_merge!, #variable?

Methods included from Documenting

#documentation

Methods included from Conversions

#completion_item, #detail, #link_documentation, #reset_conversions, #resolve_completion_item, #signature_help

Constructor Details

#initialize(location, name) ⇒ Require

Returns a new instance of Require.



5
6
7
# File 'lib/solargraph/pin/reference/require.rb', line 5

def initialize location, name
  super(location, '', name)
end

Instance Method Details

#kindObject



9
10
11
# File 'lib/solargraph/pin/reference/require.rb', line 9

def kind
  Pin::REQUIRE_REFERENCE
end