Class: Solargraph::Pin::Singleton
- Inherits:
-
Closure
- Object
- Pin::Base
- CompoundStatement
- Closure
- Solargraph::Pin::Singleton
- Defined in:
- lib/solargraph/pin/singleton.rb
Instance Attribute Summary
Attributes inherited from Closure
Attributes inherited from CompoundStatement
Instance Method Summary collapse
-
#initialize(name: '', location: nil, closure: nil, **splat) ⇒ Singleton
constructor
A new instance of Singleton.
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 |