lib/taketo/constructs/command.rb in taketo-0.2.0.alpha vs lib/taketo/constructs/command.rb in taketo-0.2.0
- old
+ new
@@ -1,10 +1,11 @@
require 'taketo/constructs/base_construct'
require 'shellwords'
module Taketo
module Constructs
+
class Command < BaseConstruct
include Shellwords
attr_accessor :command, :description
@@ -33,9 +34,10 @@
def environment_variables(server)
server.environment_variables.map { |k, v| %Q[#{k}=#{shellescape v}] }.join(" ")
end
end
+
end
end