lib/lookbook/stores/panel_store.rb in lookbook-2.0.5 vs lib/lookbook/stores/panel_store.rb in lookbook-2.1.0
- old
+ new
@@ -17,14 +17,14 @@
def initialize(config = nil)
@store = {}
load_config(config)
end
- def add_panel(name, *args)
+ def add_panel(name, *)
if get_panel(name)
raise ConfigError.new("panel with name '#{name}' already exists", scope: "panels.config")
else
- store[Utils.symbolize_name(name)] = build_config(name, *args)
+ store[Utils.symbolize_name(name)] = build_config(name, *)
end
end
def update_panel(name, opts = {})
panel = get_panel(name)