From: "zverok (Victor Shepelev)" Date: 2022-06-18T19:12:56+00:00 Subject: [ruby-core:109001] [Ruby master Misc#18840] Top-level #using and other methods docs Issue #18840 has been reported by zverok (Victor Shepelev). ---------------------------------------- Misc #18840: Top-level #using and other methods docs https://bugs.ruby-lang.org/issues/18840 * Author: zverok (Victor Shepelev) * Status: Open * Priority: Normal ---------------------------------------- I was looking into some docs problems, and the question I have is that we don't have any place where `main`'s methods documentation is rendered? The `#using`, for example, is [defined](https://github.com/ruby/ruby/blob/ruby_3_1/eval.c#L1960) on `main`'s singleton class (if I am reading the code correctly), and it has [RDoc defined](https://github.com/ruby/ruby/blob/ruby_3_1/eval.c#L1687) in `*.c`, but for all I can tell it is rendered nowhere. Theoretically, it would've been nice to have a place where `main` object's concept would be explained and the methods available in it, listed, right?.. Or am I missing something obvious? -- https://bugs.ruby-lang.org/ Unsubscribe: