Module: Bovem::ConsoleMethods::Interactions::ClassMethods

Defined in:
lib/bovem/console.rb

Overview

Class methods to interact with the user and other processes.

Instance Method Summary (collapse)

Instance Method Details

- (String) execute(command)

Executes a command and returns its output.

Parameters:

  • command (String)

    The command to execute.

Returns:

  • (String)

    The command’s output.



443
444
445
# File 'lib/bovem/console.rb', line 443

def execute(command)
  %x{#{command}}
end