From: Logan Capaldo Date: 2006-03-02T05:51:02+09:00 Subject: Re: Dynamic stuff and books --Apple-Mail-14--269715994 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Mar 1, 2006, at 7:48 AM, Mc Osten wrote: > > Is there anyway to "reopen" a class with the "raw" syntax? > > Something.reopen do > # code... > end > Classes aren't really ever closed class A def a puts "hello" end end class A def b puts "world" end end c = A.new c.a c.b #results in hello world --Apple-Mail-14--269715994--