README.md in config_default-0.1.0 vs README.md in config_default-0.1.1
- old
+ new
@@ -104,10 +104,10 @@
config = ConfigDefault.load(:app, key: "preprod") # Will search preprod key in file
```
### Struct using
-If you want to use configuration as an struct object you can use `#load_struct` method.
+If you want to use configuration as a struct object you can use `#load_struct` method.
Let's see an example with `database.yaml` config above:
```ruby
config = ConfigDefault.load_struct(:database)
config.host