I am assuming requiring SpecTableLayout after it is incorporated into Spec? There is currently no configuration for spec since it is inside the image, so the only way would be to specify version of Pharo (i.e. it's incorporated in version X, so the user needs at least Pharo X) or testing whether the class already exists.
As for overriding behavior - loading a package would rewrite existing code. There may be some issues if you were to concurrently update both Spec and your package, and then the latest would win; but there may be better solution. Peter On Tue, Mar 17, 2015 at 5:24 PM, webwarrior <r...@webwarrior.ws> wrote: > Created issue in fogbugz. > > Also, if I decide to distribute a library that requires SpecTableLayout, > how > to do it properly? Basically most of changes are new classes (so may be > shipped in any package), but there is also a modification to existing > method > in SpecInterpreter. > > > > -- > View this message in context: > http://forum.world.st/SpecTableLayout-not-in-Pahro-4-tp4812428p4812633.html > Sent from the Pharo Smalltalk Developers mailing list archive at > Nabble.com. > >