RubyFlow The Ruby and Rails community linklog

Freezing code and how to extend functionality

It is agreed that monkey patching can be naughty, but with a bit of discipline can be a great tool, a slightly more evil (in most instances) thing to do is to freeze code. This beginners article shows how to extend classes using modules. Even if those are frozen.

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