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
Returns the same as calling inspect
on the string representation of to_str
@return [Integer] The index to which the resolution should unwind in the
case of conflict.
@return [Object] the requirement that led to a version of a possibility
with the given name being activated.
Returns true if the element contains inline content that has a text or HTML media type, or no media type at all.
Returns true if the element contains inline content that has a HTML media type.
Returns true if the element contains inline content that has a XHTML media type.
Returns true if the element contains inline content that has a MIME media type.
Creates the initial state for the resolution, based upon the {#requested} dependencies @return [DependencyState] the initial state for the resolution
Return the block length of the digest in bytes.
Get the underlying pointer for ruby object val
and return it as a Fiddle::Pointer
object.
Returns the integer memory location of this pointer.
Generates a random prime number of bit length bits
. If safe
is true, generates a safe prime. If add
is specified, generates a prime that fulfills condition p % add = rem
.