lib/pave/shell.rb in pave-0.5.0 vs lib/pave/shell.rb in pave-0.6.0
- old
+ new
@@ -1,6 +1,10 @@
module Pave
module Shell
+ def Shell.included base
+ base.extend Shell
+ end
+
def shell(command)
output = `#{command}`
Struct.new(:status, :output).new($?, output)
end