lib/ruby/site_ruby/1.8/rubygems/source_index.rb
# Factory method to construct a source index instance for a given
# path.
#
# deprecated::
#   If supplied, from_installed_gems will act just like
#   +from_gems_in+.  This argument is deprecated and is provided
#   just for backwards compatibility, and should not generally
#   be used.
# 
# return::
#   SourceIndex instance
#
Factory method to construct a source index instance for a given
path.

:
If supplied, from_installed_gems will act just like
+from_gems_in+.  This argument is deprecated and is provided
just for backwards compatibility, and should not generally
be used.


Factory method to construct a source index instance for a given path . : If supplied from_installed_gems will act just like + from_gems_in + . This argument is deprecated and is provided just for backwards compatibility and should not generally be used .
def from_installed_gems(*deprecated)
        if deprecated.empty?
          from_gems_in(*installed_spec_directories)
        else
          from_gems_in(*deprecated)
        end
      end
def from_installed_gems ( * deprecated ) if deprecated . empty? from_gems_in ( * installed_spec_directories ) else from_gems_in ( * deprecated ) end end
Factory method to construct a source index instance for a given
path.
Factory method to construct a source index instance for a given path .
deprecated