Closed joshweir closed 7 years ago
Hi Eyes
I'd like to pass arguments to the config file in the load command theoretically like this:
eye load my.eye 10
#my.eye my_param = ARGV[0] #<- my_param = 10
Is there any way to do this?
Thanks Josh
No, but use some external config:
config = YAML.load_file("/some/config.yml") my_param = config['param']
Hi Eyes
I'd like to pass arguments to the config file in the load command theoretically like this:
eye load my.eye 10
Is there any way to do this?
Thanks Josh