module RubygemsCheckReplacementVulnerability::ShellMethods

Private Instance Methods

run_command(command) click to toggle source
# File lib/rubygems_check_replacement_vulnerability/shell_methods.rb, line 5
def run_command(command)
  ret = system(command)
  raise FailedCommandError, "Failed: #{command}" unless ret
end