Method: RBS::Collection::Sources::Local#versions
- Defined in:
- lib/rbs/collection/sources/local.rb
#versions(name) ⇒ Object
25 26 27 |
# File 'lib/rbs/collection/sources/local.rb', line 25 def versions(name) @full_path.join(name).glob('*/').map { |path| path.basename.to_s } end |