Class: Solargraph::RbsMap::Path
- Defined in:
- lib/solargraph/rbs_map/path.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path) ⇒ Path
constructor
A new instance of Path.
Methods inherited from Base
#loader, #path_pins, #pins, #repository
Constructor Details
#initialize(path) ⇒ Path
Returns a new instance of Path.
13 14 15 16 |
# File 'lib/solargraph/rbs_map/path.rb', line 13 def initialize path super() loader.add path: Pathname.new(path) end |
Class Method Details
.pins(path) ⇒ Array<Pin::Base>
8 9 10 |
# File 'lib/solargraph/rbs_map/path.rb', line 8 def self.pins path new(path).pins end |