Permalink
Browse files

Update documentation of suggest_gems_from_name

  • Loading branch information...
1 parent fda095d commit 97ac3d70cff0a2c3cc1f6022fff34bb3da3c1798 @presidentbeef committed Jan 1, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/rubygems/spec_fetcher.rb
@@ -184,10 +184,8 @@ def legacy_repos
end
##
- # Suggests a gem based on the supplied +gem_name+. Returns a string
- # of the gem name if an approximate match can be found or nil
- # otherwise. NOTE: for performance reasons only gems which exactly
- # match the first character of +gem_name+ are considered.
+ # Suggests gems based on the supplied +gem_name+. Returns an array of
+ # alternative gem names.
def suggest_gems_from_name gem_name
gem_name = gem_name.downcase

0 comments on commit 97ac3d7

Please sign in to comment.