class Rye::Err

  1. lib/rye.rb
Parent: Rye

Methods

Public Class

  1. new

Public Instance

  1. exit_status
  2. message
  3. rap
  4. stderr
  5. stdout

Attributes

rap [R]

Public Class methods

new (rap)
[show source]
# File lib/rye.rb, line 97
def initialize(rap)
  @rap = rap
end

Public Instance methods

exit_status ()
[show source]
# File lib/rye.rb, line 105
def exit_status; @rap.exit_status if @rap; end
message ()
[show source]
# File lib/rye.rb, line 100
def message
  "%s (cmd: %s; status: %s)" % [@rap.stderr.join($/), @rap.cmd, @rap.exit_status]
end
stderr ()
[show source]
# File lib/rye.rb, line 103
def stderr; @rap.stderr if @rap; end
stdout ()
[show source]
# File lib/rye.rb, line 104
def stdout; @rap.stdout if @rap; end