Class: Repository::Gem
Instance Method Summary collapse
-
#initialize(name, repository) ⇒ Gem
constructor
A new instance of Gem.
Methods inherited from Array
Constructor Details
#initialize(name, repository) ⇒ Gem
Returns a new instance of Gem.
60 61 62 63 64 65 66 |
# File 'lib/bundler/repository.rb', line 60 def initialize(name, repository) if repository.local? super([name, { :path => repository.path.to_s }]) else super([name, repository..dup]) end end |