[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Re: [CVS] rb_mod_freeze???

From: nobu.nokada@...
Date: 2004-06-17 07:27:08 UTC
List: ruby-core #3028
Hi,

At Thu, 17 Jun 2004 15:41:26 +0900,
Michal Rokos wrote in [ruby-core:03027]:
> This had been committed to CVS with """
> * eval.c (rb_mod_freeze): prepare string representation before
>   freezing. [ruby-talk:103646]
> """
> 
> But what should it supposed to do???
> 
> It just creates some String obj, then it's used nowhere (ret val is not 
> even assigned anywhere, and then regular Object#freeze is called.

The String is stored as an instance variable of the Module,
which will be returned by #to_s.

-- 
Nobu Nakada

In This Thread