Module: Solargraph::RbsMap::CoreSigns

Defined in:
lib/solargraph/rbs_map/core_signs.rb

Defined Under Namespace

Classes: Stub

Constant Summary collapse

Override =
Pin::Reference::Override
SIGNATURE_MAP =
{
  'Object#class' => [
    Stub.new(
      [],
      'Class<self>'
    )
  ]
}

Class Method Summary collapse

Class Method Details

.sign(path) ⇒ Array<Stub>

Parameters:

  • path (String)

Returns:



28
29
30
# File 'lib/solargraph/rbs_map/core_signs.rb', line 28

def self.sign path
  SIGNATURE_MAP[path]
end