From: "Älphä Blüë" Date: 2009-07-22T00:30:50+09:00 Subject: Re: Mean method I adjusted the code a bit to handle the size factor with @size in initialize (code changed if you refresh pastie). My main use is really for arrays but I like making things modular and useful. I'm almost finished with the standard deviation class which includes mean.. I perform a lot of advanced mathematics and statistical analysis so I need some heavier methods here and there.. As I'm still new to ruby this is a great lesson for me as well, especially with regards to code polishing and adapting to rubyism code writing. -- Posted via http://www.ruby-forum.com/.