method

create

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: Requirement
create(*inputs) public

Factory method to create a Gem::Requirement object. Input may be a Version, a String, or nil. Intended to simplify client code.

If the input is “weird”, the default version requirement is returned.

Show source
Register or log in to add new notes.