Asks the user to answer question
with an answer from the given list
.
Parses a Range
header value ranges_specifier
Parses a Range
header value ranges_specifier
@return [String] a string suitable for debugging
Is there a path from ‘other` to `self` following edges in the dependency graph? @return true iff there is a path following edges within this {#graph}
@return [RequirementState] the current state the resolution is
operating upon
Register an event handler p
which is called every time a line in file_name
is executed.
Example:
Tracer.set_get_line_procs("example.rb", lambda { |line| puts "line number executed is #{line}" })
Clear recorded tracing information.
Quietly ensure the Gem directory dir
contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.
If mode
is given, missing directories are created with this mode.
World-writable directories will never be created.
Find
a Gem::Specification
of default gem from path
Creates a State
object from opts, which ought to be Hash
to create a new State
instance configured by opts, something else to create an unconfigured instance. If opts is a State
object, it is just returned.
Initializes this object from orig if it can be duplicated/cloned and returns it.