[前][次][番号順一覧][スレッド一覧]

ruby-changes:56199

From: Nobuyoshi <ko1@a...>
Date: Sun, 23 Jun 2019 01:47:45 +0900 (JST)
Subject: [ruby-changes:56199] Nobuyoshi Nakada: ef524c13d9 (trunk): NEWS: Module#constant_source_location

https://git.ruby-lang.org/ruby.git/commit/?id=ef524c13d9

From ef524c13d96c645fd00c17267a553275adb0b106 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 23 Jun 2019 01:44:07 +0900
Subject: NEWS: Module#constant_source_location

[Feature #10771]

diff --git a/NEWS b/NEWS
index d4e943d..10fd860 100644
--- a/NEWS
+++ b/NEWS
@@ -125,6 +125,11 @@ Integer:: https://github.com/ruby/ruby/blob/trunk/NEWS#L125
 
 Module::
 
+  New method::
+
+    * Added Module#const_source_location to retreive the location where a
+      constant is defined.  [Feature #10771]
+
   Modified method::
 
     * Module#autoload? now takes an +inherit+ optional argument, like as
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]