new (Gem::Dependency)

    # File lib/rubygems/dependency.rb, line 48
      def initialize(name, version_requirements, type=:runtime)
        @name = name

        unless TYPES.include? type
          raise ArgumentError, "Valid types are #{TYPES.inspect}, not #{@type.inspect}"
        end

        @type = type

        @version_requirements = Gem::Requirement.create version_requirements
        @version_requirement = nil   # Avoid warnings.
      end