Filters the supplied nodeset on the predicate(s)
| EqualityExpr
(‘=’ | ‘!=’) RelationalExpr
| RelationalExpr
Sets url
as a source for gems for this dependency API. RubyGems uses the default configured sources if no source was given. If a source is set only that source is used.
This method differs in behavior from Bundler:
The :gemcutter
, # :rubygems
and :rubyforge
sources are not supported as they are deprecated in bundler.
The prepend:
option is not supported. If you wish to order sources then list them in your preferred order.
The source for this specification
Authenticates a req
and returns a 401 Unauthorized using res
if the authentication was not correct.
Authenticates a req
and returns a 401 Unauthorized using res
if the authentication was not correct.
Returns all the FormData
as an Array
Cancels the timeout handler id
Returns the line number of this frame.
For example, using caller_locations.rb
from Thread::Backtrace::Location
loc = c(0..1).first loc.lineno #=> 2
@return [Conflict] a {Conflict} that reflects the failure to activate
the {#possibility} in conjunction with the current {#state}