lib/descendants_describable.rb in descendants_describable-0.0.7 vs lib/descendants_describable.rb in descendants_describable-1.0.0
- old
+ new
@@ -15,10 +15,10 @@
class DescendantsDescriptor
attr_accessor :new_class
- def initialize(parent, description_module, description_proc)
+ def initialize(parent, description_module, description_proc = -> {})
@common_modules = []
@descendant_names = []
@parent = parent
@description_module = description_module
@description_proc = description_proc