MOEasel>>method?

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

MOEasel>>method?

Tudor Girba
Hi Alex,

I just noticed this method:

MOEasel>>method
        ^ MOEasel >> #method

Obviously you need it for something because you just changed it, but I cannot figure out what its role is :). Could you explain it?

Cheers,
Doru


--
www.tudorgirba.com

"What is more important: To be happy, or to make happy?"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: MOEasel>>method?

Alexandre Bergel
Yes, it is to make the MOEasel behave as the context needed by the compiler. The goal is to bind #view to the MOViewRenderer.

The previous version of method was: "^ self class >> #method". But this does not work if I subclass MOViewRenderer (we need it for Calder).

Cheers,
Alexandre


On 17 Feb 2011, at 11:21, Tudor Girba wrote:

> Hi Alex,
>
> I just noticed this method:
>
> MOEasel>>method
> ^ MOEasel >> #method
>
> Obviously you need it for something because you just changed it, but I cannot figure out what its role is :). Could you explain it?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "What is more important: To be happy, or to make happy?"
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






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