method

new

Importance_1
Ruby latest stable (v2_5_5) - 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.