extract_build_args(args)
public
Separates the build arguments (those following –) from the other
arguments in the list.
# File lib/rubygems/gem_runner.rb, line 66
def extract_build_args args # :nodoc:
return [] unless offset = args.index('--')
build_args = args.slice!(offset...args.length)
build_args.shift
build_args
end