Class RVM::Shell::Result
In: lib/rvm/shell/result.rb
Parent: Object

Represents the output of a shell command. This includes the exit status (and the helpful successful? method) as well accessors for the command and stdout / stderr.

Methods

[]   env   exit_status   new   successful?  

Attributes

command  [R] 
raw_status  [R] 
stderr  [R] 
stdout  [R] 

Public Class methods

Creates a new result object with the given details.

Public Instance methods

Returns a value from the outputs environment.

Returns the hash of the environment.

Returns the exit status for the program

Whether or not the command had a successful exit status.

[Validate]