method

create

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: Requirement
create(input) 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.