From: Magnus Holm Date: 2010-08-30T05:23:01+09:00 Subject: [ruby-core:31934] Re: Proposal: Autoload with block That's interesting, but I don't buy matz' argument: "the code in the block may not be executed (if the constant is defined anywhere else), so it is not stable." The same can be said about this code: autoload :Foo, "foo" Foo = 1 p Foo # => "foo.rb" is not evaluated And given: autoload(:Foo) { Module.new } module Foo; end # => The block will be executed, just like autoload works today. // Magnus Holm On Sun, Aug 29, 2010 at 21:33, Run Paint Run Run wrote: > Magnus, have you seen http://redmine.ruby-lang.org/issues/show/462 ? > >