Skip to content

Commit 4248f57

Browse files
Saup21claude
andcommitted
docs: update pact.rb comment to reflect core_ext scope
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f463cc5 commit 4248f57

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/pact.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
require 'pact/railtie' if defined?(Rails::Railtie)
77

8-
# Load blank?/present? polyfill before Zeitwerk eager-loads the rest of the gem.
9-
# Skipped if active_support (or anything else) has already defined these methods.
8+
# Load core_ext polyfills (blank?/present?, deep_dup) before Zeitwerk eager-loads
9+
# the rest of the gem. Each polyfill is skipped if already defined by active_support
10+
# or any other library loaded by the host application.
1011
require 'pact/support/core_ext'
1112

1213
module Pact

0 commit comments

Comments
 (0)