method

parse_dependency

ruby latest stable - Class: Gem::RequestSet::Lockfile::Parser
parse_dependency(name, op)
public

Parses the requirements following the dependency name and the op for the first token of the requirements and returns a Gem::Dependency object.