Skip to content

Commit

Permalink
Remove disable for Lint/AmbiguousOperator
Browse files Browse the repository at this point in the history
Ruby emits a warning for this as well
  • Loading branch information
Earlopain committed Sep 21, 2023
1 parent 40d3dda commit 43cc060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/decorators/application_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.inherited(decorator_class)
super
model_class = decorator_class.name.delete_suffix("Decorator").constantize
decorator_class.class_eval do
delegate *model_class.column_names, *model_class.instance_methods(false), to: :@object # rubocop:disable Lint/AmbiguousOperator
delegate(*model_class.column_names, *model_class.instance_methods(false), to: :@object)
end
end

Expand Down

0 comments on commit 43cc060

Please sign in to comment.