lib/taketo/constructs/environment.rb in taketo-0.2.0.alpha vs lib/taketo/constructs/environment.rb in taketo-0.2.0
- old
+ new
@@ -2,10 +2,11 @@
require 'taketo/constructs/project'
require 'taketo/support'
module Taketo
module Constructs
+
class Environment < BaseConstruct
has_nodes :servers, :server
has_nodes :groups, :group
def initialize(name)
@@ -26,8 +27,9 @@
def has_servers?
has_deeply_nested_nodes?(:servers)
end
end
+
end
end