README.md in chambermaid-0.1.0 vs README.md in chambermaid-0.2.0
- old
+ new
@@ -34,13 +34,19 @@
# config/initializers/chambermaid.rb
Chambermaid.configure do |config|
config.add_namespace("/my/param/namespace")
- # Set `overwrite_duplicates: true` to choose these params over existing
+ # Set `overload: true` to choose these params over existing
# ones in ENV when they are merged together
- config.add_namespace("/my/important/namespace", overwrite_duplicates: true)
+ config.add_namespace("/my/important/namespace", overload: true)
end
+```
+
+**Restore ENV to original state**
+```ruby
+Chambermaid.restore!
+Chambermaid.reset! # alias of .restore!
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.