From: Marc Heiler Date: 2011-08-22T23:09:31+09:00 Subject: Re: New to Ruby some problems With Ruby, you should try to aim for terse and simple code. This here: def array return @array end Can be rewritten as: attr_reader :array In class MATRIX. Also you can omit 'return'. I use that especially for short methods. -- Posted via http://www.ruby-forum.com/.