We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: