April 16, 2016
8:26 p.m.
2016-04-16 20:59 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
Hi,
is it possible to "ensure" that class exists with RBAddClassRefactoring?
Right now RBAddClassRefactoring will throw up if the class already exists.
I would like it to create the class if it doesn't exist and just do nothing if it already exists.
Is it possible? (if not I will just work around it on my side).
Thanks, Peter
The ugly way: [ refactoring execute ] on: RBRefactoringError do:[:ex | ex resume].