[cairo] New ruby cairo binding landed in CVS
mental at rydia.net
mental at rydia.net
Tue Feb 8 15:01:37 PST 2005
Quoting Ned Konz <ned at squeakland.org>:
> Also, it looks as if the
>
> alias line_width= set_line_width
>
> doesn't work inside methods of that class (you have to use
> set_line_width()
> instead). I didn't remember that.
Ruby always interprets an assignment to an unqualified name as an
assignment to a local variable.
If you want, you can qualify the name to make it work:
self.line_width = whatever
-mental
More information about the cairo
mailing list