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 CompoundStatement

#node

Instance Method Summary collapse

Methods inherited from Closure

#combine_with, #context, #generic_defaults, #generics, #rbs_generics, #rebind, #to_rbs

Constructor Details

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

Returns a new instance of Singleton.



6
7
8
# File 'lib/solargraph/pin/singleton.rb', line 6

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