lib/ruby/stdlib/rubygems/dependency.rb
##
# Valid dependency types.
#--
# When this list is updated, be sure to change
# Gem::Specification::CURRENT_SPECIFICATION_VERSION as well.
#
# REFACTOR: This type of constant, TYPES, indicates we might want
# two classes, used via inheritance or duck typing.
Valid dependency types.
When this list is updated, be sure to change
Gem::Specification::CURRENT_SPECIFICATION_VERSION as well.

This type of constant, TYPES, indicates we might want
two classes, used via inheritance or duck typing.
Valid dependency types . When this list is updated be sure to change Gem :: Specification :: CURRENT_SPECIFICATION_VERSION as well . This type of constant TYPES indicates we might want two classes used via inheritance or duck typing .
def to_s 
    if type != :runtime
      "#{name} (#{requirement}, #{type})"
    else
      "#{name} (#{requirement})"
    end
  end
def to_s if type != :runtime "#{name} (#{requirement}, #{type})" else "#{name} (#{requirement})" end end
Valid dependency types.
Valid dependency types .
# :nodoc: