Let’s see how to create a descendant class in Ruby. Load up the 1adventure.rb program. This starts simply enough with the definition of a Thing class which has two instance variables, @name and @description. These variables are assigned values in the initialize method when a new Thing object is created.