Sha256: cf934f95dfd95b07a1cc59c780807619980d0e847c5b80a93bbe1729daaa661e
Contents?: true
Size: 343 Bytes
Versions: 4
Compression:
Stored size: 343 Bytes
Contents
module Attractor # from https://github.com/prontolabs/pronto/blob/master/lib/pronto/gem_names.rb class GemNames def to_a gems.map { |gem| gem.name.sub(/^attractor-/, '') }.uniq.sort end private def gems Gem::Specification.find_all.select do |gem| gem.name =~ /^attractor-/ end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
attractor-2.0.3 | lib/attractor/gem_names.rb |
attractor-2.0.2 | lib/attractor/gem_names.rb |
attractor-2.0.1 | lib/attractor/gem_names.rb |
attractor-2.0.0 | lib/attractor/gem_names.rb |