[#9445] thread.rb — m_seki@...

18 messages 2000/03/16
[#9446] Re: thread.rb — matz@... (Yukihiro Matsumoto) 2000/03/17

[#9460] Re: thread.rb — m_seki@... 2000/03/21

[#9462] Re: thread.rb — matz@... (Yukihiro Matsumoto) 2000/03/21

まつもと ゆきひろです

[#11281] Re: thread.rb — Masatoshi SEKI <m_seki@...> 2000/10/22

[#9498] timeout しない timeout — ARIMA Yasuhiro <fit0298@...>

有馬です。

20 messages 2000/03/26
[#9506] Re: timeout しない timeout — matz@... (Yukihiro Matsumoto) 2000/03/27

まつもと ゆきひろです

[#9509] Re: timeout しない timeout — gotoken@... (GOTO Kentaro) 2000/03/27

In message "[ruby-dev:9506] Re: timeout しない timeout"

[ruby-dev:9463] const_get from eval

From: Minero Aoki <aamine@...>
Date: 2000-03-21 16:34:54 UTC
List: ruby-dev #9463
あおきです。

以下のスクリプトが NameError になります。


  module M
    C = 1
    class A
      module_eval 'def a() p C end'
    end
  end
  M::A.new.a    # uninitialized constant M::A::C


def しないでその場で p C だと大丈夫です。
-------------------------------------------------------------------
あおきみねろう

In This Thread

Prev Next