Codecast: Create a RubyGem 21: Change total_dice to use keyword arguments


This is the 21st video in the NerdDice create a RubyGem series. In this video, Mike improves the user experience by converting the options of the :total_dice method from a default empty hash argument to keyword arguments by using the Hash de-reference (or double-splat) operator. This affords the user more flexibility in how they invoke the method.

, ,

Leave a Reply