If the class Name were in a different file, you would just require that file first
class Name attr_accessor :given_name, :family_name end //////////////// File: address.rb #!/usr/bin/env ruby require 'name' class Address < Name attr_accessor :street, :city, :state, :country end a = Address.new puts a.respond_to?(:given_name)