Class: BuildrDependencyExtensions::ResolverBase

Inherits:
Object
  • Object
show all
Defined in:
lib/buildr-dependency-extensions/resolver.rb

Instance Method Summary collapse

Constructor Details

#initializeResolverBase

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