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
- #identifier ⇒ Object
-
#initialize(sources, source_map, excluded_sources = []) ⇒ RubygemsAggregate
constructor
A new instance of RubygemsAggregate.
- #specs ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(sources, source_map, excluded_sources = []) ⇒ RubygemsAggregate
Returns a new instance of RubygemsAggregate.
8 9 10 11 12 13 14 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 8 def initialize(sources, source_map, excluded_sources = []) @sources = sources @source_map = source_map @excluded_sources = excluded_sources @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
#identifier ⇒ Object
20 21 22 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 20 def identifier to_s end |
#specs ⇒ Object
16 17 18 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 16 def specs @index end |
#to_s ⇒ Object
24 25 26 |
# File 'lib/bundler/source/rubygems_aggregate.rb', line 24 def to_s "any of the sources" end |