Project

General

Profile

Actions

Feature #13383

closed

[PATCH] Module#source_location

Added by koba789 (Hidekazu Kobayashi) about 7 years ago. Updated 4 months ago.

Status:
Rejected
Target version:
-
[ruby-core:80458]

Description

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


Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #17749: Const source location without nameOpenActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0