Method: CFnDK::KeyPairs#destroy
- Defined in:
- lib/cfndk/key_pairs.rb
#destroy ⇒ Object
17 18 19 20 21 22 |
# File 'lib/cfndk/key_pairs.rb', line 17 def destroy @keypairs.each_value do |keypair| next if @option[:keypair_names].instance_of?(Array) && !@option[:keypair_names].include?(keypair.original_name) keypair.destroy end end |