-
-
Save anonymous/ac5e6f0209857bbcfd23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generate_resources(x, y, z) | |
raise Exception.new("x can not be lower then 1") unless x > 0 | |
rescue => e | |
x = 1 |
baweaver
commented
Jul 3, 2015
def generate_resources(num_instances = 1, instance_type = 't1.small', cidr_ip = '127.0.0.1')
num_instances = 1 unless num_instances > 0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment