[#1147] Copying RVALUE — why the lucky stiff <ruby-core@...>

Hello, everyone. Hope you are all doing well.

18 messages 2003/06/17
[#1155] Re: Copying RVALUE — matz@... (Yukihiro Matsumoto) 2003/06/20

Hi,

[#1157] Re: Copying RVALUE — why the lucky stiff <ruby-core@...> 2003/06/20

Yukihiro Matsumoto (matz@ruby-lang.org) wrote:

[#1173] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...>

Hi, I'm new to this mailing list so I don't know the procedure for

15 messages 2003/06/22
[#1174] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1175] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/22

On Sun, 2003-06-22 at 05:36, nobu.nokada@softhome.net wrote:

[#1176] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1193] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/25

On Sun, 2003-06-22 at 07:41, nobu.nokada@softhome.net wrote:

[#1177] Re: In 1.8.0 nil.to_s is not the same as "" — ts <decoux@...>

14 messages 2003/06/22

Re: [Patch] class.c code cleanup (rb_class_*_instance_methods)

From: nobu.nokada@...
Date: 2003-06-22 12:41:48 UTC
List: ruby-core #1176
Hi,

At Sun, 22 Jun 2003 21:26:48 +0900,
Matthew Dempsky wrote:
> Would warning the protected/private/public versions as simply
> instance_methods cause any problems though?  (The part of code in
> question is only going to be present for one more version anyways.) 

You can get current method name by:
  rb_id2name(rb_frame_last_func())

> As a side note, however, I noticed that there seems to be a typo in the
> #if/rb_warn part: the conditional is RUBY_VERSION_CODE is less than 181,
> but the string warns about a change after 1.8.1 (not beginning with).  I
> can write a patch to fix that really quickly. :>

"from 1.8.1"?

-- 
Nobu Nakada

In This Thread