Method: Bundler::LazySpecification#initialize

Defined in:
lib/bundler/lazy_specification.rb

#initialize(name, version, platform, source = nil) ⇒ LazySpecification

Returns a new instance of LazySpecification.



12
13
14
15
16
17
18
19
# File 'lib/bundler/lazy_specification.rb', line 12

def initialize(name, version, platform, source = nil)
  @name          = name
  @version       = version
  @dependencies  = []
  @platform      = platform || Gem::Platform::RUBY
  @source        = source
  @specification = nil
end