From: Jason Lillywhite Date: 2009-01-23T06:59:29+09:00 Subject: Re: Design question: class methods verses initialize > Maybe it's been too long for me, but I can't figure out what kind of > area equation needs to have two multiplications. And I can't figure > out what b, y, and m stand for. I am solving for the area of flow in a trapezoidal shaped ditch (channel). b is bottom width, y is depth of flow, and m is the side slope as m:1. You know, I didn't think of area1 = Geom.new(b, y, m).area I guess that isn't too bad. -- Posted via http://www.ruby-forum.com/.