true if the requirement is for only an exact version
True if the version
string matches RubyGems’ requirements.
Returns true if this source list includes other
which may be a Gem::Source
or a source URI
.
Return all gem name tuples who’s names match obj
Sanitize the descriptive fields in the spec. Sometimes non-ASCII characters will garble the site index. Non-ASCII characters will be replaced by their XML
entity equivalent.
A list of Gem::Dependency
objects this gem depends on.
Use add_dependency
or add_development_dependency
to add dependencies to a gem.
Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.
See IO.unlink when path
is a file.
See Dir.unlink
when path
is a directory.
Executes a block as self
Example:
sh.transact { system("ls", "-l") | head > STDOUT }
%pwd, %cwd -> @pwd
ex)
if you wish to output: "shell: job(#{@command}:#{@pid}) close pipe-out." then mes: "job(%id) close pipe-out." yorn: Boolean(@shell.debug? or @shell.verbose?)
Components of the URI
in the order.
Components of the URI
in the order.
Checks if URI
is relative
str
String to search
schemes
Patterns to apply to str
Attempts to parse and merge a set of URIs If no block
given , then returns the result, else it calls block
for each element in result.
see also URI::Parser.make_regexp
str
String to remove escapes from
unsafe
Regexp
to apply. Defaults to self.regexp
Removes escapes from str
str
String to search
schemes
Patterns to apply to str
Attempts to parse and merge a set of URIs If no block
given , then returns the result, else it calls block
for each element in result.
see also URI::Parser.make_regexp
str
String to remove escapes from
unsafe
Regexp
to apply. Defaults to self.regexp
Removes escapes from str