From: "Eregon (Benoit Daloze)" Date: 2021-09-27T09:47:44+00:00 Subject: [ruby-core:105444] [Ruby master Bug#18227] Static class initialization. Issue #18227 has been updated by Eregon (Benoit Daloze). 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. ---------------------------------------- Bug #18227: Static class initialization. https://bugs.ruby-lang.org/issues/18227#change-93891 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal * Assignee: ioquatix (Samuel Williams) * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: