Asks the user to answer question with an answer from the given list.
Add the –platform option to the option parser.
Sets IO operations on io to be non-blocking
Sets IO operations on io to be non-blocking
@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
Like Enumerable#slice_before, but chains operation to be lazy-evaluated.
Like Enumerable#reject, but chains operation to be lazy-evaluated.
Like Enumerable#grep, but chains operation to be lazy-evaluated.
Like Enumerable#grep_v, but chains operation to be lazy-evaluated.
If stat is readable by others, returns an integer representing the file permission bits of stat. Returns nil otherwise. The meaning of the bits is platform dependent; on Unix systems, see stat(2).
m = File.stat("/etc/passwd").world_readable? #=> 420 sprintf("%o", m) #=> "644"
Returns true if stat is writable by the real user id of this process.
File.stat("testfile").writable_real? #=> true
Same as executable?, but tests using the real owner of the process.