2015-04-09 8:48 GMT+02:00 Tudor Girba <tudor@tudorgirba.com>:
I would not do that. I think that removing the example pragma check is sufficient for now. Could we do it?
Sufficient for what? I think there is no problem if we remove the pragma check. Because only very few (if any) example methods (those that really open an example) relies only on the pragma, without having a #exampleXXX name too. I just think this would not change much. We need to clean up the mess with the #example* methods.
Cheers, Doru
On Wed, Apr 8, 2015 at 5:16 PM, Nicolai Hess <nicolaihess@web.de> wrote:
2015-04-08 10:20 GMT+02:00 Tudor Girba <tudor@tudorgirba.com>:
And, to have a better chance of having a clean slate discussion later on in which to consider the value we associate to names, I would like to remove the <example> check from isExampleMethod and continue to preserve the treatment of #example* selectors in Nautilus.
Wouldn't we need to change the check to:
isExampleMethod if selector starts with 'example' *AND HAS NOT* a <example> (or <gtExample>) pragma
because there are tons of #example* methods, some of them open an example and some of them with the pragma, create an instance for the inspector?
-- www.tudorgirba.com
"Every thing has its own flow"