Open wvengen opened 9 years ago
When setting a variable to an array like this:
AppConfig.BLACKLIST = ['foo', 'bar']
I get the following error:
lib/ruby/2.1.0/ostruct.rb:170:in `block in new_ostruct_member' app_config-2.5.3/lib/app_config/storage/base.rb:17:in `method_missing' app_config-2.5.3/lib/app_config.rb:66:in `method_missing'
Happens in base.rb#17.
Setting a non-array value AppConfig.BLACKLIST= 'foo' does not give an error, but obviously does the wrong thing.
AppConfig.BLACKLIST= 'foo'
When setting a variable to an array like this:
I get the following error:
Happens in base.rb#17.
Setting a non-array value
AppConfig.BLACKLIST= 'foo'
does not give an error, but obviously does the wrong thing.