README.md in dry-initializer-0.4.0 vs README.md in dry-initializer-0.5.0
- old
+ new
@@ -47,10 +47,10 @@
class User
extend Dry::Initializer::Mixin
# Params of the initializer along with corresponding readers
param :name
- param :role, default: proc { 'customer' }
+ param :role, default: proc { 'customer' }
# Options of the initializer along with corresponding readers
option :admin, default: proc { false }
end
# Defines the initializer with params and options