Advertisement
Guest User

Untitled

a guest
Jun 13th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Trying to find an elegant way to do this..
  2.  
  3. ClassArray = [MyClass1, CoolClass2, GreatClass3]
  4.  
  5. Objs_array = [objclass1, objclass3]
  6.  
  7. I want to delete any classes in ClassArray that are not included
  8. in the ojects classes loaded in objs_array.
  9.  
  10. Hope this makes sense, so for above example should
  11. equal this after processing
  12.  
  13. ClassArray should = [MyClass1, GreatClass3]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement