From: "David A. Black" Date: 2005-11-07T09:17:30+09:00 Subject: Re: what does --can't define singleton method-- mean? Hi -- > > I found out that I also can use > > > > Complex.class_eval do > > def angle > > arg / Math::PI * 180 > > end > > end > > > > this would "update" the method for all instances of Complex class > > Or: > > def Complex.angle Whoops -- wrong. That's actually a way to define the singleton method on Complex, as discussed later in your post. David -- David A. Black dblack@wobblini.net