Method: RBS::Collection::Sources::Local#has?
- Defined in:
- lib/rbs/collection/sources/local.rb
#has?(name, version) ⇒ Boolean
17 18 19 20 21 22 23 |
# File 'lib/rbs/collection/sources/local.rb', line 17 def has?(name, version) if version @full_path.join(name, version).directory? else not versions(name).empty? end end |