Actions
Feature #18227
openStatic class initialization.
Description
As a follow on from https://bugs.ruby-lang.org/issues/18189 I would like to propose some kind of static class initialization. I'll investigate whether it's possible and create a PR.
Updated by Eregon (Benoit Daloze) about 3 years ago
I think for the public API functions should be used, as that providees a lot more flexibility in implementation.
Initializing as static means there is no possibility to ever add e.g. some context argument to it, so it is limiting.
Updated by ioquatix (Samuel Williams) about 3 years ago
Yes, this would only be for internal CRuby initialization, not for 3rd party code.
Updated by jeremyevans0 (Jeremy Evans) about 3 years ago
- Tracker changed from Bug to Feature
- Backport deleted (
2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN)
Updated by hsbt (Hiroshi SHIBATA) 8 months ago
- Status changed from Open to Assigned
Actions
Like0
Like0Like0Like0Like0