README.md in much-plugin-0.2.1 vs README.md in much-plugin-0.2.2
- old
+ new
@@ -43,9 +43,31 @@
# - these methods will become instance methods on the receiver
end
end
```
+### `after_plugin_included`
+
+These hooks work just like the `plugin_included` hooks, except they are evaluated _after_ any plugin class/instance methods have been evaluated. E.g. use this to call a class method that the plugin defines.
+
+```ruby
+requre "much-plugin"
+
+module MyPluginMixin
+ include MuchPlugin
+
+ after_plugin_included do
+ configure_the_plugin
+ end
+
+ plugin_class_methods do
+ def configure_the_plugin
+ # ...
+ end
+ end
+end
+```
+
## Example
```ruby
requre "much-plugin"