[ruby-core:115800] [Ruby master Feature#13383] [PATCH] Module#source_location

Issue #13383 has been updated by matz (Yukihiro Matsumoto). Status changed from Open to Rejected I don't think “natural” is not a good reason for adding a new method, especially regarding open class/module definitions. I am not against if the feature is proposed for the debugger. Matz. ---------------------------------------- Feature #13383: [PATCH] Module#source_location https://bugs.ruby-lang.org/issues/13383#change-105746 * Author: koba789 (Hidekazu Kobayashi) * Status: Rejected * 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/
participants (1)
-
matz (Yukihiro Matsumoto)