RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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