Sha256: 410764c3cc76854e0e96b0c6c8900b29dbba06c3c58508a2aea76423e4206557
Contents?: true
Size: 356 Bytes
Versions: 4
Compression:
Stored size: 356 Bytes
Contents
module Space module Model class Repos class Collection < Array attr_reader :repos def initialize(repos, elements) @repos = repos super(elements) end def self_and_dependencies Collection.new(repos, (self + map(&:dependencies)).flatten.uniq) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
space-0.0.9 | lib/space/model/repos/scope.rb |
space-0.0.8 | lib/space/model/repos/scope.rb |
space-0.0.7 | lib/space/model/repos/scope.rb |
space-0.0.6 | lib/space/model/repos/scope.rb |