method
_all
v1_9_3_125 -
Show latest stable
- Class:
Gem::Specification
_all()public
No documentation available.
# File lib/rubygems/specification.rb, line 263
def self._all # :nodoc:
unless defined?(@@all) && @@all then
specs = []
self.dirs.reverse_each { |dir|
Dir[File.join(dir, "*.gemspec")].each { |path|
spec = Gem::Specification.load path.untaint
# #load returns nil if the spec is bad, so we just ignore
# it at this stage
specs << spec if spec
}
}
@@all = specs
_resort!
end
@@all
end