Greetings,
I'm trying to play with the refactoring engine through omnibrowser but i want to limit the namespace where the refactoring is applied.
I'm close to do it but i'm stuck with RBNamespaces:
I need 3 Namespaces created from a -target- class.
"target" is an OBMethodNode<MyClass#myMethod>
1: Smalltalk Root - Easy one (not linked with the class), it's working
(RBNamespace new)
2: Class limited namespace - I'm trying to do something like:
(RBNamespace onEnvironment: (BrowserEnvironment new forClasses: {target theClass}))
i always get "MessageNotUnderstood: Object class >> definesMethod:" called in RBClass>>definesMethod:
seems like it dislikes my NameSpace.
3: Category limited namespace - Also not working:
(RBNamespace onEnvironment: (CategoryEnvironment new categories: {target theClass category}))
same error.
Is anybody (skilled with RBNamespaces) so kind as to help me creating my namespace? :)
Thanks
Antoine