Method: EzCapture#stdout

Defined in:
lib/ezcapture.rb

#stdoutString

Returns STDOUT from the command.

Returns:

  • (String)

    STDOUT from the command



40
41
42
43
44
45
46
# File 'lib/ezcapture.rb', line 40

def stdout
    if @results
        return @results[0]
    else
        return nil
    end
end