Skip to content

Comments

🔧 Add recursive Config#inherits_defaults?#611

Merged
nevans merged 1 commit intomasterfrom
config-inherits_defaults_p
Feb 13, 2026
Merged

🔧 Add recursive Config#inherits_defaults?#611
nevans merged 1 commit intomasterfrom
config-inherits_defaults_p

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Feb 13, 2026

Returns true when all attributes inherit from Config.default, the version number when all attributes inherit from a versioned default, nil if any attributes inherit from Config.global overrides (but not from any non-global ancestors), or false when any attributes have been overridden by self or an ancestor (besides global or default configs),

Returns `true` when all attributes inherit from `Config.default`, the
version number (as a Rational) when all attributes inherit from a
versioned default, `nil` if any attributes inherit from `Config.global`
overrides (but not from non-global ancestors), or `false` when any
attributes have been overridden by `self` or an ancestor (besides global
or default configs),
@nevans nevans force-pushed the config-inherits_defaults_p branch from 080c500 to 0c16adb Compare February 13, 2026 15:11
@nevans nevans merged commit 853fd13 into master Feb 13, 2026
39 checks passed
@nevans nevans deleted the config-inherits_defaults_p branch February 13, 2026 15:13
@nevans nevans added the enhancement New feature or request label Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant