MooseAbstractGroup>>allModelMethods // isStub

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MooseAbstractGroup>>allModelMethods // isStub

Nicolas Anquetil

any reason why:

MooseAbstractGroup>>allModelMethods
     ... self allMethods reject: [ :each | each parentTypeIsStub ]

why not:
   ... self allMethods reject: [ :each | each isStub ]

1- if a method is a stub, by definition we may not know what its class is
2- even if we know, if the parent class is a stub, then the method
itself should be a stub

so why this indirection?

nicolas

--
Nicolas Anquetil -- MCF (HDR)
Project-Team RMod

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev