Method: Gem::StubSpecification#initialize

Defined in:
lib/rubygems/stub_specification.rb

#initialize(filename, base_dir, gems_dir, default_gem) ⇒ StubSpecification

Returns a new instance of StubSpecification.



70
71
72
73
74
75
76
77
78
79
80
# File 'lib/rubygems/stub_specification.rb', line 70

def initialize(filename, base_dir, gems_dir, default_gem)
  super()

  self.loaded_from = filename
  @data            = nil
  @name            = nil
  @spec            = nil
  @base_dir        = base_dir
  @gems_dir        = gems_dir
  @default_gem     = default_gem
end