From: "matheusrich (Matheus Richard) via ruby-core" <ruby-core@...> Date: 2023-12-13T19:05:57+00:00 Subject: [ruby-core:115733] [Ruby master Feature#13383] [PATCH] Module#source_location Issue #13383 has been updated by matheusrich (Matheus Richard). I want to bring this up again. This feature feels very natural to me, and it was surprising that `Module#source_locations` isn't implemented yet. What can we do to move this forward? ---------------------------------------- Feature #13383: [PATCH] Module#source_location https://bugs.ruby-lang.org/issues/13383#change-105666 * Author: koba789 (Hidekazu Kobayashi) * Status: Open * Priority: Normal * Assignee: ioquatix (Samuel Williams) ---------------------------------------- # Abstract It can inspect where the module or class is defined. # Background In debugging or development an application, I usually want to find out where the class definition of using library. There is Method#source_location but I could not find **Class** easily. # Implementation In Github: https://github.com/ruby/ruby/pull/1562 -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/