Method: YARD::GemIndex.each
- Defined in:
- lib/yard/gem_index.rb
.each(&block) ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/yard/gem_index.rb', line 17 def each(&block) if defined?(Gem::Specification) && Gem::Specification.respond_to?(:each) Gem::Specification.each(&block) else Gem.source_index.find_name('').each(&block) end end |