2005/8/26, Derek Wyatt <derek / derekwyatt.org>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > |>class Solder > |>~ def can_upgrade_to > |>~ [Knight] > |>~ end > |>end > |> > |>And your problems go away. You don't have to open it up later. If > |>you want it private, you can simply make it private. > | > | > | Doesn't solve the OP'S problem because it was about dependencies: > | Knight has to be defined when it is used. > > David already mentioned this, but remember that when the method is > defined, it doesn't matter that "Knight" has no meaning as at this > point it's just method definition. On method _execution_ it had > better resolve to something or you're going to get an error. But in > the OP's case, this is a non-issue as the def and exec deliniation > is well-defined. Ooops, I really ovelooked that one. Time to go home I guess. Sorry for the noise. Kind regards robert