refactor: fix Style/OneClassPerFile by extracting top-level definitions into separate files (#18)

This commit is contained in:
Copilot
2026-03-09 16:16:19 +02:00
committed by GitHub
parent 8cea32a4f9
commit fe1ff1be70
8 changed files with 290 additions and 269 deletions

View File

@@ -0,0 +1,10 @@
# typed: strict
# frozen_string_literal: true
# Simple polyfill for Homebrew extensions
class String
def blank?
# Polyfill implementation to avoid external dependencies
nil? || empty? # rubocop:disable Homebrew/Blank, Lint/RedundantCopDisableDirective
end
end