Class: Solargraph::Collection::Core

Inherits:
Base
  • Object
show all
Defined in:
lib/solargraph/collection/core.rb

Overview

Cacheable core pins.

Instance Method Summary collapse

Methods inherited from Base

#load, load, uncache

Instance Method Details

#cache_file ⇒ Object



8
9
10
# File 'lib/solargraph/collection/core.rb', line 8

def cache_file
  File.join CacheDir.work_dir, 'core.ser'
end

#pins ⇒ Object



12
13
14
# File 'lib/solargraph/collection/core.rb', line 12

def pins
  @pins ||= RbsMap::Core.pins
end