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

Enable auto-loading of configuration file when creating Settings instance #2

Merged
merged 3 commits into from Sep 7, 2015

Conversation

seapagan
Copy link
Owner

@seapagan seapagan commented Sep 7, 2015

Added an :auto_load parameter to the initialize method.

When this is true the configuration file will be automatically loaded into memory when the instance is created.

Defaults to false if unspecified.

If true, this will automatically load the configuration file into
memory when the instance is created.
Defaults to false.

Signed-off-by: Seapagan <seapagan@gmail.com>
Signed-off-by: Seapagan <seapagan@gmail.com>
Was enabled for testing and forgot to disable

Signed-off-by: Seapagan <seapagan@gmail.com>
@seapagan seapagan changed the title Autoload Enable auto-loading of configuration file when creating class instance Sep 7, 2015
@seapagan seapagan changed the title Enable auto-loading of configuration file when creating class instance Enable auto-loading of configuration file when creating Settings instance Sep 7, 2015
seapagan added a commit that referenced this pull request Sep 7, 2015
Enable auto-loading of configuration file when creating Settings instance
@seapagan seapagan merged commit eb3c3f8 into master Sep 7, 2015
@seapagan seapagan deleted the autoload branch September 7, 2015 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant