Class: BuildrDependencyExtensions::ResolverBase
- Inherits:
-
Object
- Object
- BuildrDependencyExtensions::ResolverBase
- Defined in:
- lib/buildr-dependency-extensions/resolver.rb
Direct Known Subclasses
HighestVersionConflictResolver, MavenVersionConflictResolver
Instance Method Summary collapse
-
#initialize ⇒ ResolverBase
constructor
A new instance of ResolverBase.
- #resolve_from_hash(artifact) ⇒ Object
- #resolved(artifact, version) ⇒ Object
Constructor Details
#initialize ⇒ ResolverBase
Returns a new instance of ResolverBase.
3 4 5 |
# File 'lib/buildr-dependency-extensions/resolver.rb', line 3 def initialize @hash = {} end |
Instance Method Details
#resolve_from_hash(artifact) ⇒ Object
7 8 9 |
# File 'lib/buildr-dependency-extensions/resolver.rb', line 7 def resolve_from_hash artifact @hash[artifact] end |
#resolved(artifact, version) ⇒ Object
11 12 13 |
# File 'lib/buildr-dependency-extensions/resolver.rb', line 11 def resolved artifact, version # @hash[artifact] = version end |