app/components/coco/buttons/toolbar/toolbar.rb in coveragebook_components-0.19.0 vs app/components/coco/buttons/toolbar/toolbar.rb in coveragebook_components-0.19.1
- old
+ new
@@ -14,15 +14,15 @@
component = Coco::ButtonGroup.new(**kwargs, theme: :toolbar, collapsible: true)
@sections[alignment] = view_context.render(component, &block)
end
- def initialize(**kwargs)
+ def initialize(**)
@sections = {
start: nil,
end: nil
}
- super(**kwargs)
+ super
end
def start_section
@sections[:start]
end