Class: PomPomPom::Resolver::PomResolver
- Inherits:
-
Object
- Object
- PomPomPom::Resolver::PomResolver
- Defined in:
- lib/pompompom/resolver.rb
Instance Method Summary collapse
- #all_poms ⇒ Object
-
#initialize(dependencies, repositories, downloader, logger) ⇒ PomResolver
constructor
A new instance of PomResolver.
Constructor Details
#initialize(dependencies, repositories, downloader, logger) ⇒ PomResolver
Returns a new instance of PomResolver.
94 95 96 |
# File 'lib/pompompom/resolver.rb', line 94 def initialize(dependencies, repositories, downloader, logger) @dependencies, @repositories, @downloader, @logger = dependencies, repositories, downloader, logger end |
Instance Method Details
#all_poms ⇒ Object
98 99 100 |
# File 'lib/pompompom/resolver.rb', line 98 def all_poms @dependencies.map { |d| resolve_dependencies(d) }.flatten end |