returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining
dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained
DOC: This method needs documented or nodoc’d
Sanitize a single string.
Duplicates Array
and Gem::Requirement
attributes from other_spec
so state isn’t shared.
List of dependencies that will automatically be activated at runtime.
Display a warning on stderr. Will ask question
if it is not nil.
Count source code characters
Example:
left_right = LeftRightLexCount.new left_right.count_lex(LexValue.new(1, :on_lbrace, "{", Ripper::EXPR_BEG)) left_right.count_for_char("{") # => 1 left_right.count_for_char("}") # => 0
Constructs the default Hash
of patterns.
Constructs the default Hash
of Regexp’s.
Constructs the default Hash
of patterns.
Constructs the default Hash
of Regexp’s.
Synonym for CGI.unescapeHTML(str)
Synonym for CGI.unescapeElement(str)
Returns a new Fiddle::Function
instance at the memory address of the given name
function.
Raises a DLError
if the name
doesn’t exist.
argtype
is an Array
of arguments, passed to the name
function.
ctype
is the return type of the function
call_type
is the ABI of the function
See also Fiddle:Function.new
See Fiddle::CompositeHandler.sym
and Fiddle::Handler.sym
Returns a new closure wrapper for the name
function.
ctype
is the return type of the function
argtype
is an Array
of arguments, passed to the callback function
call_type
is the abi of the closure
block
is passed to the callback
See Fiddle::Closure
A wrapper class to use a StringIO
object as the body and switch to a TempFile when the passed threshold is passed. Initialize the data from the query.
Handles multipart forms (in particular, forms that involve file uploads). Reads query parameters in the @params field, and cookies into @cookies.
Return a Hash
for RJIT statistics. --rjit-stats makes more information available.