README.md in class_config-0.0.1 vs README.md in class_config-0.0.2
- old
+ new
@@ -18,12 +18,17 @@
## Usage
class MyClass
extend ClassConfig
+
attr_config :with_default, 'default value'
attr_config :without_default
attr_config :setting
+
+ after_config do |config|
+ # Do something
+ end
end
MyClass.configure do |config|
config.setting = 'configuration value'
end