Class: Sparrowhawk::BundlerArtifactMapper
- Inherits:
-
Object
- Object
- Sparrowhawk::BundlerArtifactMapper
- Includes:
- Enumerable
- Defined in:
- lib/sparrowhawk/bundler_artifact_mapper.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize ⇒ BundlerArtifactMapper
constructor
A new instance of BundlerArtifactMapper.
Constructor Details
#initialize ⇒ BundlerArtifactMapper
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
#definition ⇒ Object (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
#each ⇒ Object
12 13 14 |
# File 'lib/sparrowhawk/bundler_artifact_mapper.rb', line 12 def each entries.each { |entry| yield entry } end |