Created
October 19, 2024 00:23
-
-
Save zenspider/7cb58f240dac8bc14f44e78b4e905a40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# alt 3 | |
sclas = | |
stack.last || | |
(is_spec_class && self) || | |
Minitest::Spec.spec_type(desc, *additional_desc) | |
# alt 4 | |
sclas = | |
stack.last \ | |
|| (is_spec_class && self) \ | |
|| Minitest::Spec.spec_type(desc, *additional_desc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment