Class: Bundler::Source

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options)
  @bundle = bundle
end

Instance Attribute Details

#bundleObject (readonly)

Returns the value of attribute bundle.



8
9
10
# File 'lib/bowline/bundler/source.rb', line 8

def bundle
  @bundle
end

#localObject

Returns the value of attribute local.



7
8
9
# File 'lib/bowline/bundler/source.rb', line 7

def local
  @local
end