RubyFlow The Ruby and Rails community linklog

Not-so-private constants in Ruby

Sometimes intuition cheats us. That was a case for me with defining private constants in Ruby. Putting them within private block is not enough to achieve the desired effect. https://frontdeveloper.pl/2019/01/not-so-private-constants-in-ruby/?utm_source=rubyflow.com

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in