From: Gaston Ramos Date: 2008-03-06T07:36:27+09:00 Subject: Re: [QUIZ] Hello, world? (#158) My 2 solutions: ['h','e','l','l','o',', ','w','o','r','l','d','!'].inject{|v, m| v + m} # --- module Hello; def self.included(klass); klass.hello ', world!'; end; end class World def self.method_missing(method_name, *args) puts method_name.to_s + args[0] end include Hello end Regards. -- "Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter." (Eric Raymond) +-------------------------------------+ Gastón Ramos http://gastonramos.wordpress.com/ GNU/Linux Counter user #450312