Sha256: ff9ed31666895be04a6f193134c9e1b0104e20b4c7637ec01cc3c3f84dae69f2

Contents?: true

Size: 759 Bytes

Versions: 1

Compression:

Stored size: 759 Bytes

Contents

# Author::    Nicolas Pouillard  <ertai@lrde.epita.fr>.
# Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
# License::   GNU General Public License (GPL).
# Revision::  $Id: data.rb 221 2005-05-09 12:40:57Z ertai $

module Commands

  module Datas

    #
    # A CommandData instance contains all information returned by a Command#run:
    #
    #   * It's exit status:
    #     - Exit number.
    #     - Signals
    #     - ...
    #
    #   * It's outputs:
    #     - What it writes on stdout.
    #     - stderr.
    class Data

      attr_accessor :pid
      attr_accessor :input
      attr_accessor :output
      attr_accessor :error
      attr_accessor :status

    end # class Data

  end # module Datas

end # module Commands

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vcs-0.2.148 ruby_ex/commands/datas/data.rb