Handles the :group and :groups
options for the gem with the given
name.
# File lib/rubygems/request_set/gem_dependency_api.rb, line 481
def gem_group(name, options) # :nodoc:
g = options.delete :group
all_groups = g ? Array(g) : []
groups = options.delete :groups
all_groups |= groups if groups
all_groups |= @current_groups if @current_groups
all_groups
end