module Gobstones::WithCommandLine
Public Instance Methods
run_command(command)
click to toggle source
# File lib/gobstones/with_command_line.rb, line 3 def run_command(command) [%x{#{command}}, $?.success? ? :passed : :failed] end