Episode #588
Keyword Argument Struct

The Struct class-generator has been an important part of the Ruby toolkit since early days. But in Ruby 2.5 it got modernized. Learn how to combine the convenience of Structs with the readability of keyword arguments!

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.