Unregister the Symbol
command
as a gem command.
Is this dependency simply asking for the latest version of a gem?
A recommended version for use with a ~> Requirement.
Builds and installs the Gem::Specification
spec
Uninstalls the Gem::Specification
spec
Uninstalls gem spec
If response
is an HTTP Success (2XX) response, yields the response if a block was given or shows the response body to the user.
If the response was not successful, shows an error to the user including the error_prefix
and the response body.
This code is based directly on the Text
gem implementation Returns a value representing the “cost” of transforming str1 into str2
In the first form, returns an array of the names of all constants accessible from the point of call. This list includes the names of all modules and classes defined in the global scope.
Module.constants.first(4) # => [:ARGF, :ARGV, :ArgumentError, :Array] Module.constants.include?(:SEEK_SET) # => false class IO Module.constants.include?(:SEEK_SET) # => true end
The second form calls the instance method constants
.
Returns an array of the names of the constants accessible in mod. This includes the names of constants in any included modules (example at start of section), unless the inherit parameter is set to false
.
The implementation makes no guarantees about the order in which the constants are yielded.
IO.constants.include?(:SYNC) #=> true IO.constants(false).include?(:SYNC) #=> false
Also see Module::const_defined?
.
Return true if this spec can require file
.