module Boxes::Testing::Command
Attributes
response[R]
Public Instance Methods
run_command(cmd)
click to toggle source
# File lib/boxes/testing/command.rb, line 6 def run_command(cmd) stdout = `#{cmd}` @response = Response.new(cmd, stdout, $?.exitstatus) end