Class: Taketo::Constructs::Config
- Inherits:
-
BaseConstruct
- Object
- BaseConstruct
- Taketo::Constructs::Config
- Defined in:
- lib/taketo/constructs/config.rb
Instance Attribute Summary collapse
-
#default_destination ⇒ Object
Returns the value of attribute default_destination.
Attributes inherited from BaseConstruct
#default_server_config, #name, #parent
Instance Method Summary collapse
- #has_servers? ⇒ Boolean
-
#initialize(*args) ⇒ Config
constructor
A new instance of Config.
Methods inherited from BaseConstruct
#node_type, #parents, #path, #qualified_name
Methods included from AssociatedNodes
Constructor Details
#initialize(*args) ⇒ Config
Returns a new instance of Config.
13 14 15 |
# File 'lib/taketo/constructs/config.rb', line 13 def initialize(*args) super(nil) end |
Instance Attribute Details
#default_destination ⇒ Object
Returns the value of attribute default_destination.
11 12 13 |
# File 'lib/taketo/constructs/config.rb', line 11 def default_destination @default_destination end |
Instance Method Details
#has_servers? ⇒ Boolean
17 18 19 |
# File 'lib/taketo/constructs/config.rb', line 17 def has_servers? has_deeply_nested_nodes?(:servers) end |