Fix Style/OptionalBooleanParameter cop (#34968)

This commit is contained in:
Matt Jankowski 2025-06-10 04:17:35 -04:00 committed by GitHub
parent a2a6117143
commit dc2cfd50a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 17 additions and 29 deletions

View file

@ -3,7 +3,7 @@
class Admin::SystemCheck::Message
attr_reader :key, :value, :action, :critical
def initialize(key, value = nil, action = nil, critical = false)
def initialize(key, value = nil, action = nil, critical: false)
@key = key
@value = value
@action = action