Hey,

With the current Ruby support the mixin code can always access the 
Composite it is a part of by using the "@this" instance variable which 
is automagically added. On this variable I have also added automatic 
getters and setters for the properties of the Composite. Instead of
@this.name().set("Some name")
you can do:
@this.name="Some name"

and to access instead of doing:
@this.name().get() or @this.name.get
you simply do:
@this.name

There is no way to access the properties as objects right now, but one 
possibility is to override the [] operator on @this to allow such 
access. Not sure if this is good or not.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to