Class: Bundler::Source
- Inherits:
-
Object
- Object
- Bundler::Source
- Defined in:
- lib/bowline/bundler/source.rb
Overview
Represents a source of rubygems. Initially, this is only gem repositories, but eventually, this will be git, svn, HTTP
Direct Known Subclasses
DirectorySource, GemDirectorySource, GemSource, SystemGemSource
Instance Attribute Summary collapse
-
#bundle ⇒ Object
readonly
Returns the value of attribute bundle.
-
#local ⇒ Object
Returns the value of attribute local.
Instance Method Summary collapse
-
#initialize(bundle, options) ⇒ Source
constructor
A new instance of Source.
Constructor Details
#initialize(bundle, options) ⇒ Source
Returns a new instance of Source.
10 11 12 |
# File 'lib/bowline/bundler/source.rb', line 10 def initialize(bundle, ) @bundle = bundle end |
Instance Attribute Details
#bundle ⇒ Object (readonly)
Returns the value of attribute bundle.
8 9 10 |
# File 'lib/bowline/bundler/source.rb', line 8 def bundle @bundle end |
#local ⇒ Object
Returns the value of attribute local.
7 8 9 |
# File 'lib/bowline/bundler/source.rb', line 7 def local @local end |