Class: Bundler::Source::RubygemsAggregate
- Inherits:
-
Object
- Object
- Bundler::Source::RubygemsAggregate
- Defined in:
- lib/bundler/source/rubygems_aggregate.rb
Instance Attribute Summary collapse
-
#source_map ⇒ Object
readonly
Returns the value of attribute source_map.
-
#sources ⇒ Object
readonly
Returns the value of attribute sources.
Instance Method Summary collapse
-
#initialize(sources, source_map) ⇒ RubygemsAggregate
constructor
A new instance of RubygemsAggregate.
- #specs ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(sources, source_map) ⇒ RubygemsAggregate
Returns a new instance of RubygemsAggregate.
8 9 10 11 12 13 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 8 def initialize(sources, source_map) @sources = sources @source_map = source_map @index = build_index end |
Instance Attribute Details
#source_map ⇒ Object (readonly)
Returns the value of attribute source_map.
6 7 8 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 6 def source_map @source_map end |
#sources ⇒ Object (readonly)
Returns the value of attribute sources.
6 7 8 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 6 def sources @sources end |
Instance Method Details
#specs ⇒ Object
15 16 17 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 15 def specs @index end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 19 def to_s "any of the sources" end |