RubyFlow The Ruby and Rails community linklog

When to use freeze and frozen? in Ruby

These days it’s pretty common to see #freeze used in Ruby code. But it’s often not entirely clear WHY freeze is being used. In this post we’ll look at the most common reasons a developer might freeze variables. http://blog.honeybadger.io/when-to-use-freeze-and-frozen-in-ruby/

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