Class: Taketo::Constructs::Group
- Inherits:
-
BaseConstruct
- Object
- BaseConstruct
- Taketo::Constructs::Group
- Defined in:
- lib/taketo/constructs/group.rb
Instance Attribute Summary
Attributes inherited from BaseConstruct
#default_server_config, #name, #parent
Instance Method Summary collapse
Methods inherited from BaseConstruct
#initialize, #node_type, #parents, #path, #qualified_name
Methods included from AssociatedNodes
Constructor Details
This class inherits a constructor from Taketo::Constructs::BaseConstruct
Instance Method Details
#has_servers? ⇒ Boolean
13 14 15 |
# File 'lib/taketo/constructs/group.rb', line 13 def has_servers? has_deeply_nested_nodes?(:servers) end |
#rails_env ⇒ Object
9 10 11 |
# File 'lib/taketo/constructs/group.rb', line 9 def rails_env parent.rails_env if parent.respond_to?(:rails_env) end |