Class: LeapCli::Config::Tag

Inherits:
Object show all
Defined in:
lib/leap_cli/config/tag.rb

Instance Attribute Summary collapse

Attributes inherited from Object

#manager, #node

Instance Method Summary collapse

Methods inherited from Object

#[], #deep_merge!, #default, #dump_json, #dump_yaml, #evaluate, #get, #get!, #inherit_from!, #method_missing, #pick

Methods included from Macros

#assert, #authorized_keys, #base32_secret, #file, #file_path, #fingerprint, #haproxy_servers, #hex_secret, #hostnames, #hosts_file, #nodes, #nodes_like_me, #provider, #rand_range, #secret, #stunnel_client, #stunnel_port, #stunnel_server, #try, #try_file

Methods inherited from Hash

#deep_merge, #deep_merge!, #pick

Constructor Details

#initialize(manager = nil) ⇒ Tag

Returns a new instance of Tag.



12
13
14
15
# File 'lib/leap_cli/config/tag.rb', line 12

def initialize(manager=nil)
  super(manager)
  @node_list = Config::ObjectList.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class LeapCli::Config::Object

Instance Attribute Details

#node_listObject (readonly)

Returns the value of attribute node_list.



10
11
12
# File 'lib/leap_cli/config/tag.rb', line 10

def node_list
  @node_list
end