lib/wrap_it/container.rb in wrap_it-1.0.1 vs lib/wrap_it/container.rb in wrap_it-1.0.2

- old
+ new

@@ -87,9 +87,10 @@ end child_class = child_class.name if child_class.is_a?(Class) define_method name do |*hargs, extracted: false, **hopts, &hblock| hargs += args + # TODO: merge html class correctly. Now it just overrided by opts hopts.merge!(opts) hopts[:helper_name] = name child = prepare_child(child_class, block, *hargs, **hopts, &hblock) add_children(name, child, extracted: extracted) end