# Creating a class named A and then using the A class as a base class for another class, B: # Note that the syntax class B < A indicates that the B class inherits all that A class has class A . . . end class B < A . . . end