class Gem::Tasks::Project

def gemspec(name=nil)

Returns:
  • (Gem::Specification) -

Parameters:
  • name (String) -- (@primary_gemspec)
def gemspec(name=nil)
  name ||= @primary_gemspec
  unless @gemspecs.has_key?(name)
    raise(ArgumentError,"unknown gemspec: #{name}")
  end
  return @gemspecs[name]
end