method

new

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: RequestSet
new(*deps) public

Creates a RequestSet for a list of Gem::Dependency objects, deps. You can then #resolve and #install the resolved list of dependencies.

nokogiri = Gem::Dependency.new 'nokogiri', '~> 1.6'
pg = Gem::Dependency.new 'pg', '~> 0.14'

set = Gem::RequestSet.new nokogiri, pg
Show source
Register or log in to add new notes.