From: "jneen (Jeanine Adkisson) via ruby-core" Date: 2026-02-09T05:22:48+00:00 Subject: [ruby-core:124723] [Ruby Feature#6478] BasicObject#__class__ Issue #6478 has been updated by jneen (Jeanine Adkisson). I wonder if exposing a static `Object.class_of(thing)` would be appropriate? There's also the singleton_class to consider as well. ---------------------------------------- Feature #6478: BasicObject#__class__ https://bugs.ruby-lang.org/issues/6478#change-116321 * Author: trans (Thomas Sawyer) * Status: Feedback * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- How else is one supposed to get the class of a subclass of BasicObject? -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/