Class: Sparrowhawk::BundlerGemFinder
- Inherits:
-
Object
- Object
- Sparrowhawk::BundlerGemFinder
- Includes:
- Enumerable
- Defined in:
- lib/sparrowhawk/bundler_gem_finder.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(definition) ⇒ BundlerGemFinder
constructor
A new instance of BundlerGemFinder.
Constructor Details
#initialize(definition) ⇒ BundlerGemFinder
Returns a new instance of BundlerGemFinder.
8 9 10 |
# File 'lib/sparrowhawk/bundler_gem_finder.rb', line 8 def initialize definition @definition = definition end |
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
6 7 8 |
# File 'lib/sparrowhawk/bundler_gem_finder.rb', line 6 def definition @definition end |
Instance Method Details
#each ⇒ Object
12 13 14 |
# File 'lib/sparrowhawk/bundler_gem_finder.rb', line 12 def each gems.each { |g| yield g } end |