class EY::Serverside::Spawner::Result

Attributes

command[R]
output[R]
server[R]
success[R]
success?[R]

Public Class Methods

new(command, success, output, server = nil) click to toggle source
# File lib/engineyard-serverside/spawner.rb, line 175
def initialize(command, success, output, server = nil)
  @command = command
  @success = success
  @output = output
  @server = server
end

Public Instance Methods

inspect() click to toggle source
# File lib/engineyard-serverside/spawner.rb, line 183
        def inspect
          <<-EOM
$ #{success? ? "(success)" : "(failed)"} #{command}
#{output}
          EOM
        end