Skip to content
New issue

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

reading config returns entire ENV #2

Open
shime opened this issue Jan 14, 2015 · 2 comments
Open

reading config returns entire ENV #2

shime opened this issue Jan 14, 2015 · 2 comments

Comments

@shime
Copy link

shime commented Jan 14, 2015

File.exists?("~/.iceskates") # false
config = UserConfigurations::Configuration.new('iceskates') 
config.keys.size # 54
config.keys - ENV.keys # []

this makes restoring difficult

File.exists?("~/.iceskates") # false
config = UserConfigurations::Configuration.new('iceskates') 
# do some crazy stuff to config
config.store(config) # stores entire ENV
@stupied4ever
Copy link
Owner

What do you propose?

@shime
Copy link
Author

shime commented Jan 14, 2015

It should just return contents of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants