Method: Bundler::RemoteSpecification#initialize

Defined in:
lib/bundler/remote_specification.rb

#initialize(name, version, platform, spec_fetcher) ⇒ RemoteSpecification

Returns a new instance of RemoteSpecification.



17
18
19
20
21
22
23
24
# File 'lib/bundler/remote_specification.rb', line 17

def initialize(name, version, platform, spec_fetcher)
  @name         = name
  @version      = Gem::Version.create version
  @original_platform = platform || Gem::Platform::RUBY
  @platform     = Gem::Platform.new(platform)
  @spec_fetcher = spec_fetcher
  @dependencies = nil
end