In today’s free Monday episode, a look into how Ruby constructs new objects, and how we can customize constructors for special scenarios.

httpv://youtube.com/watch?v=WN4wVtYU4Fo

[boilerplate bypath=”rubytapas-sample”]

Published by Avdi Grimm

6 Comments

  1. […] RubyTapas Episode 7: Constructors Avdi Grimm continues with his RubyTapas project with this free episode digging into how Ruby constructs new objects and how to customize constructors for your own ends. […]

    Reply
  2. what is very editor you used in the video? It seems very nice

    Reply
  3. Avdi, you showed the passing of &block from the class’ new function to the instance’s initialize function. How is this typically used in initialize? yield(self), to perform further custom initialization of the object?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *