Class: Solargraph::Pin::Singleton

Inherits:
Closure show all
Defined in:
lib/solargraph/pin/singleton.rb

Instance Attribute Summary

Attributes inherited from Closure

#scope

Attributes inherited from Base

#code_object, #kind, #location, #name, #path, #return_type

Attributes included from Common

#closure, #location

Instance Method Summary collapse

Methods inherited from Closure

#binder, #context

Methods inherited from Base

#==, #comments, #completion_item_kind, #deprecated?, #directives, #docstring, #filename, #infer, #inspect, #macros, #maybe_directives?, #nearly?, #probe, #probed?, #proxied?, #proxy, #realize, #symbol_kind, #to_s, #try_merge!, #typify, #variable?

Methods included from Documenting

#documentation

Methods included from Conversions

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

Methods included from Common

#binder, #comments, #context, #kind, #name, #namespace, #path, #return_type

Constructor Details

#initialize(name: '', location: nil, closure: nil) ⇒ Singleton


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

def initialize name: '', location: nil, closure: nil
  super
end