That was pretty quick! Nice one... Happy new year ror-oceania!
Cheers, Nigel *Dr Nigel Sheridan-Smith PhD* / Principal *Green Shores Digital* [image: Twitter] <https://twitter.com/GreenShoresAU>[image: Linkedin] <http://au.linkedin.com/in/nsheridansmith> *M*: +61 403 930 963 *E*: [email protected] *W*: http://www.greenshoresdigital.com On Wed, Dec 30, 2015 at 7:23 PM, Tom Hale <[email protected]> wrote: > FYI, an issue was raised and the associated commit is awaiting merge. > > https://github.com/bbatsov/rubocop/issues/2546#ref-commit-a1153e6 > > Tom > > On Monday, 28 December 2015 05:11:16 UTC+5:30, Tom Hale wrote: >> >> Hi all, >> >> Can someone explain why the following code generates a rubocopy warning? >> >> Unless I'm missing something, it makes rubocop really touchy when >> re-ordering code. >> >> # make rubocop happy >> class Passes >> # rubocop:disable Style/ClassVars >> @@class_var = 'no problems here' >> end >> >> # make rubocopy sad >> class Offensive >> # Removing the next comment line makes for a happy rubocop - why? >> # rubocop:disable Style/ClassVars >> @@class_var = 'broken?' >> end >> >> Cheers, >> Tom >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/rails-oceania. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rails-oceania. For more options, visit https://groups.google.com/d/optout.
