Forum: Ruby Re: Mixins and variables

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
daniels (Guest)
on 2005-12-07 07:38
(Received via mailing list)
self.x= will be a method call.

> -----Original Message-----
> From: Johannes F. [mailto:removed_email_address@domain.invalid]
> Sent: Wednesday, 7 December 2005 4:29 PM
> To: ruby-talk ML
> Subject: Re: Mixins and variables
>
> OK, thanks. Can I force "x=(whatever)" to mean a method call instead
> of an assignment?
> I thought the parantheses were supposed to do that?

#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################
This topic is locked and can not be replied to.