class Fuey::Inspections::Support::ShellCommand

Public Class Methods

new(command) click to toggle source
# File lib/fuey_client/fuey/inspections/support/shell_command.rb, line 5
def initialize(command)
  @command = command
end

Public Instance Methods

execute() click to toggle source
# File lib/fuey_client/fuey/inspections/support/shell_command.rb, line 9
def execute
  %x(#{@command})
end