On 7/01/2016 2:08 PM, Jon Rowe wrote:
that will work consistently… I’ve never seen `private_class_method def
self.class_method_name` in the wild I suspect that it only works by
accident…

I'm 99% sure that the `private_class_method def self.class_method_name` style was added in Ruby 2.1 or later.

On this note, does anyone know where to easily browse through the changes in the various releases of Ruby? It would make for great professional development reading.

--
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 rails-oceania+unsubscr...@googlegroups.com.
To post to this group, send email to rails-oceania@googlegroups.com.
Visit this group at https://groups.google.com/group/rails-oceania.
For more options, visit https://groups.google.com/d/optout.

Reply via email to