Skip to content

Add Colorize.default_enabled?#15912

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/colorize-default-enabled
Jun 23, 2025
Merged

Add Colorize.default_enabled?#15912
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/colorize-default-enabled

Conversation

@HertzDevil
Copy link
Contributor

Exposes the default value logic of Colorize.enabled? via a new class method. This can be used when colorization is done through local IO objects instead of the global STDOUT and STDERR, e.g. in Spec.

@straight-shoota straight-shoota added this to the 1.17.0 milestone Jun 18, 2025
@straight-shoota straight-shoota merged commit a50c2da into crystal-lang:master Jun 23, 2025
40 checks passed
@HertzDevil HertzDevil deleted the feature/colorize-default-enabled branch June 26, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants