class Pronto::GemNames
Public Instance Methods
Source
# File lib/pronto/gem_names.rb, line 3 def to_a gems.map { |gem| gem.name.sub(/^pronto-/, '') }.uniq.sort end
Private Instance Methods
Source
# File lib/pronto/gem_names.rb, line 9 def gems Gem::Specification.find_all.select do |gem| if gem.name =~ /^pronto-/ true elsif gem.name != 'pronto' runner_path = File.join(gem.full_gem_path, "lib/pronto/#{gem.name}.rb") File.exist?(runner_path) end end end