[newbie] How to copy class to different name?
Dwight Hughes
dwighth at ipa.net
Mon Jul 19 01:39:25 UTC 1999
Well, this is not quite as simple as it should be. A trick that works
well is to fileout the original class, "rename..." the original class in
the browser to the new class name, and then filein the original class --
giving you both the new copy and the old.
-- Dwight
squeaker wrote:
>
> There has to be a squeakier way to do this! I want to copy a class,
> "BudgetChips," to form another class, "GourmetChips." BudgetChips derives
> from another class, "Chips," and has Class and Instance variables and
> methods.
>
> When done, I'll need to go in and do a little customizing but I won't have
> to manually redefine everything via another temporary residence in cut and
> paste hell (I really don't like that place!).
>
> Any ideas appreciated. Also, point me to a FAQ or resource where this is
> already covered and I will be most abject in my apologies for wasting the
> list memebers' time.
>
> Thanks,
>
> | John, squeaker at dangerous-minds.com Squeak? http://www.squeak.org/ |
> | Some minds are dangerous because they're sharp and pointed; others, |
> | because they're heavy and dull; mine, because I know enough to get into |
> | trouble but not necessarily out. |
>
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
More information about the Squeak-dev
mailing list
|