Block form for restricting gems to a particular set of platforms. See platform
.
Explanation of the conflict used by exceptions to print useful messages
The platform this gem works on.
Does not print message
when updated as this object has taken a vow of silence.
Prints out a dot and ignores message
.
Prints out the position relative to the total and the message
.
Nothing can update the silent download reporter.
Updates the verbose download reporter for the given number of bytes
.
Authenticates a req
and returns a 401 Unauthorized using res
if the authentication was not correct.
Returns a challenge response which asks for authentication information
Authenticates a req
and returns a 401 Unauthorized using res
if the authentication was not correct.
Returns a challenge response which asks for authentication information
Iterate passwords in the database.
Iterate passwords in the database.
Evaluates erb
providing servlet_request
and servlet_response
as local variables.
Returns the file name of this frame.
For example, using caller_locations.rb
from Thread::Backtrace::Location
loc = c(0..1).first loc.path #=> caller_locations.rb
Raises a MissingAttributeError
, NotAvailableValueError
, MissingTagError
or NotExpectedTagError
if the element is not properly formatted.
Returns a new lazy enumerator with the concatenated results of running block once for every element in lazy.
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force #=> ["f", "o", "o", "b", "a", "r"]
A value x returned by block is decomposed if either of the following conditions is true:
a) <i>x</i> responds to both each and force, which means that <i>x</i> is a lazy enumerator. b) <i>x</i> is an array or responds to to_ary.
Otherwise, x is contained as-is in the return value.
[{a:1}, {b:2}].lazy.flat_map {|i| i}.force #=> [{:a=>1}, {:b=>2}]