--0016364c7205b6ea6a046ce3a216
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Thanks.
What would be the syntax for making a new "Product", say... called "Dog
Collar".

On Sun, Jun 21, 2009 at 6:36 PM, Eric Hodel <drbrain / segment7.net> wrote:

> On Jun 21, 2009, at 14:35, Zorigami <zorigami / gmail.com> wrote:
>
>  Does anyone out there have a good "Product" Class?(With defs such as
>> "setprice", "name", and "id"...)
>> If so than could you send it to me?
>> I've been trying to make one and Ideas would help.
>> Thanks,
>>
>
> class Product < Struct.new(:id, :name, :price)
>  # custom behavior, if you need it
> end
>
>

--0016364c7205b6ea6a046ce3a216--