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 Builder Pattern (video)

The Builder pattern allows you to hide the configuration of complex objects in a separate class. It makes sense to use it when you feel like the creation of an object has become too complex, and you’re repeating the process in a few different places. Or, when you need to create an object with different possible configuration options.

https://youtu.be/RkL9Y9v-H1Q

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