Skip to content

Codecast: Create a RubyGem 36: Object-Oriented Dice

This is the 36th video in the NerdDice create a RubyGem series. In this video, Mike uses real-life dice to talk about the nature of real-life objects and then looks at the Ruby objects already created and how those correspond to the real-life dice reviewed earlier.

This video covers:

  • 00:00:12 Introduction: Real-life dice as objects
  • 00:02:28 Classes as factories for objects
  • 00:04:00 Operating on a set of dice
  • 00:04:53 Overview of existing objects and classes in NerdDice
  • 00:06:04 Review the Configuration object
  • 00:08:11 Interaction with objects in the console
  • 00:12:03 Review GitHub issue related to dice object functionality
  • 00:13:21 The performance trade-offs of creating objects
  • 00:15:44 Break down the GitHub issue into smaller pieces

Leave a Reply