0
0
Fork 0

Fix Lint/UnusedBlockArgument cop (#27777)

This commit is contained in:
Matt Jankowski 2023-11-09 04:43:26 -05:00 committed by GitHub
parent 5af47fbff8
commit c875dfc90b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 15 deletions

View file

@ -164,7 +164,7 @@ SimpleForm.setup do |config|
# config.item_wrapper_class = nil
# How the label text should be generated altogether with the required text.
config.label_text = lambda { |label, required, explicit_label| "#{label} #{required}" }
config.label_text = lambda { |label, required, _explicit_label| "#{label} #{required}" }
# You can define the class to use on all labels. Default is nil.
# config.label_class = nil