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!

The Abstract Factory Pattern in Ruby (video)

The Abstract Factory Pattern allows you to do is to isolate conditional instantiations of related objects so that your client code can be extended without changing it.

This is important because this is how you can extend your code, without changing it. It’s called the open/closed principle, which says classes should be open for extension but closed for modification.

Youtube link:

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