Check if gem name
version version
is installed.
True if the requested gem has already been installed.
A string explanation of the conflict.
Does this dependency request match spec
?
NOTE: match?
only matches prerelease versions when dependency
is a prerelease dependency.
Installing a git gem only involves building the extensions and generating the executables.
This is a null install as this specification is already installed. options
are ignored.
This is a null install as a locked specification is considered installed. options
are ignored.
Installs this specification using the Gem::Installer
options
. The install method yields a Gem::Installer
instance, which indicates the gem will be installed, or nil
, which indicates the gem is already installed.
After installation spec
is updated to point to the just-installed specification.
This is a null install as this gem was unpacked into a directory. options
are ignored.
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
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.