# File lib/rudy/cli/aws/ec2/addresses.rb, line 19 19: def addresses_destroy 20: address = Rudy::AWS::EC2::Addresses.get(@argv.ipaddress) 21: raise "Could not fetch #{address.ipaddress}" unless address 22: 23: li "Destroying address: #{@argv.ipaddress}" 24: li "NOTE: this IP address will become available to other EC2 customers.".bright 25: execute_check(:medium) 26: execute_action { Rudy::AWS::EC2::Addresses.destroy(@argv.ipaddress) } 27: end