Subject: Re: bug#23815: 24.5; Ruby indentation incorrect when class has a member called "module"
From: Dmitry Gutov <[email-masked]>
To: [email-masked], [email-masked]
Date: Tue, 21 Jun 2016 19:44:10 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.1

Hi Jesper,

On 06/21/2016 04:57 PM, [email-masked] wrote:
> If a ruby file contains the following (valid) Ruby code:
>
> class Foo
>   def foo()
>     @module = ""
>      end
>   end
>
> The Ruby emacs mode fails to realize that @module is a member, and
> instead thinks it is a module.

It looks fixed in emacs-25, although I can't fixed the exact commit that 
did it now.

Please try out a pre-release snapshot of Emacs 25 when you have the chance.