Class: Sparrowhawk::BundlerArtifactMapper

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/sparrowhawk/bundler_artifact_mapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBundlerArtifactMapper

Returns a new instance of BundlerArtifactMapper


8
9
10
# File 'lib/sparrowhawk/bundler_artifact_mapper.rb', line 8

def initialize
  @definition = BundlerDefinition.new gemfile, lockfile
end

Instance Attribute Details

#definitionObject (readonly)

Returns the value of attribute definition


6
7
8
# File 'lib/sparrowhawk/bundler_artifact_mapper.rb', line 6

def definition
  @definition
end

Instance Method Details

#eachObject


12
13
14
# File 'lib/sparrowhawk/bundler_artifact_mapper.rb', line 12

def each
  entries.each { |entry| yield entry }
end