Skip to content

Commit

Permalink
[load-values/instant-configuration] fixed typos (readme)
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Dec 5, 2019
1 parent 3b477e6 commit 95244f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ config.settings.creds.auth_token # => "kek.pek" (from config.yml)
### Load setting values from JSON file (by instance)

- prvoides an ability to load predefined setting values from a json file;
- `#load_from_yaml(file_path, strict: true, expose: nil, &configuration)`
- `#load_from_json(file_path, strict: true, expose: nil, &configuration)`
- `file_path` - full file path or `:self` (`:self` means "load setting values from __END__ data");
- `:strict` - rerquires that file (or __END__-data) should exist (`true` by default);
- `:expose` - what the environment-based subset of keys should be used (`nil` means "do not use any subset of keys") (`nil` by default);
Expand Down

0 comments on commit 95244f6

Please sign in to comment.