some questions
Michael Rueger
Michael.Rueger.-ND at disney.com
Thu Oct 14 01:55:24 UTC 1999
Lyn A Headley wrote:
> couldn't figure out how to copy a class along with its methods. Is it
> because this is frowned on in favor of subclassing?
Yes! (among other reasons)
But there is a neat trick how to do this:
- fileOut the class
- replace all occurences of the class name in the file (e.g. using find
and replace in the file list)
- fileIn the file
Michael
--
"To improve is to change, to be perfect is to change often."
Winston Churchill
+------------------------------------------------------------+
| Michael Rueger |
| Phone: ++1 (818) 623 3283 Fax: ++1 (818) 623 3559 |
+--------Michael.Rueger.-ND at online.disney.com----------------+
More information about the Squeak-dev
mailing list
|