Class: ConcurrentPipeline::Shell::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/concurrent_pipeline/shell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



9
10
11
# File 'lib/concurrent_pipeline/shell.rb', line 9

def command
  @command
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



9
10
11
# File 'lib/concurrent_pipeline/shell.rb', line 9

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



9
10
11
# File 'lib/concurrent_pipeline/shell.rb', line 9

def stdout
  @stdout
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



9
10
11
# File 'lib/concurrent_pipeline/shell.rb', line 9

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/concurrent_pipeline/shell.rb', line 10

def success?
  success
end