July 3, 2014
8:09 a.m.
In environments we have two methods: #definesClass: and #includesClass:. They make sense for package environments, as one of them may include a class as it defines extension methods for it, but itâs not defining the class itself. Now #includesClass: is redefined in all environments, but #definesClass: is not redefined anywhere except for package environment. So for example ClassEnvironment says that it defines every class that itâs asked about. Should we redefine that method in each environment? I would say yes, but Iâm not familiar with RBâ¦Stuff philosophy. What do you think? Cheers. Uko