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!

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