Class: Taketo::Constructs::Config

Inherits:
BaseConstruct show all
Defined in:
lib/taketo/constructs/config.rb

Instance Attribute Summary collapse

Attributes inherited from BaseConstruct

#default_server_config, #name, #parent

Instance Method Summary collapse

Methods inherited from BaseConstruct

#node_type, #parents, #path, #qualified_name

Methods included from AssociatedNodes

included

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_destinationObject

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

Returns:

  • (Boolean)


17
18
19
# File 'lib/taketo/constructs/config.rb', line 17

def has_servers?
  has_deeply_nested_nodes?(:servers)
end