README.md in qonfig-0.3.0 vs README.md in qonfig-0.4.0

- old
+ new

@@ -32,10 +32,11 @@ - [Settings as Predicates](#settings-as-predicates) - [Load from YAML file](#load-from-yaml-file) - [Load from ENV](#load-from-env) - [Load from \_\_END\_\_](#load-from-__end__) (aka `load_from_self`) - [Smart Mixin](#smart-mixin) (`Qonfig::Configurable`) +- [Plugins](#plugins) --- ### Definition and Access @@ -685,9 +686,21 @@ GeneralApplication.config.to_h { 'user' => '0exp', 'pswd' => '123test', 'db' => { 'adapter' => 'pg' } } # and etc... (all Qonfig-related features) +``` + +--- + +### Plugins + +```ruby +# --- show names of registered plugins --- +Qonfig.plugins # => array of strings + +# --- load specific plugin --- +Qonfig.plugin(:plugin_name) # or Qonfig.plugin('plugin_name') ``` --- ## Contributing