README.md in smart_initializer-0.6.0 vs README.md in smart_initializer-0.7.0
- old
+ new
@@ -154,14 +154,16 @@
- based on `Qonfig` gem;
- you can read config values via `[]` or `.config.settings` or `.config[key]`;
- setitngs:
- `default_type_system` - default type system (`smart_types` by default);
+ - `strict_options` - raise an error when got unknown options if true (`true` by default);
```ruby
# configure:
SmartCore::Initializer::Configuration.configure do |config|
config.default_type_system = :smart_types # default setting value
+ config.strict_options = true # default setting value
end
```
```ruby
# read: