https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-05-12T04:32:23ZRuby Issue Tracking SystemRuby master - Feature #8391: Introduce Object.singleton_method(:sym)https://bugs.ruby-lang.org/issues/8391?journal_id=392592013-05-12T04:32:23Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/39259/diff?detail_id=28363">diff</a>)</li><li><strong>Category</strong> changed from <i>syntax</i> to <i>core</i></li></ul><p>It's not a syntax issue.</p> Ruby master - Feature #8391: Introduce Object.singleton_method(:sym)https://bugs.ruby-lang.org/issues/8391?journal_id=392752013-05-12T23:54:23Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul></ul><p>I like this idea.</p>
<p>Matz.</p> Ruby master - Feature #8391: Introduce Object.singleton_method(:sym)https://bugs.ruby-lang.org/issues/8391?journal_id=392782013-05-13T01:14:30Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> set to <i>2.1.0</i></li></ul> Ruby master - Feature #8391: Introduce Object.singleton_method(:sym)https://bugs.ruby-lang.org/issues/8391?journal_id=392962013-05-13T14:52:07Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r40684.<br>
stephen, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>proc.c: Kernel#singleton_method</p>
<ul>
<li>proc.c (rb_obj_singleton_method): new method Kernel#singleton_method<br>
which returns a Method object of the singleton method.<br>
non-singleton method causes NameError, but not aliased or zsuper<br>
method, right now.<br>
<a href="/issues/8391">[ruby-core:54914]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Introduce Object.singleton_method(:sym) (Closed)" href="https://bugs.ruby-lang.org/issues/8391">#8391</a>]</li>
</ul>