lib/whereabouts_methods.rb
def create_address_class(class_name, &block)
      klass = Class.new Address, &block
      Object.const_set class_name, klass
    end
def create_address_class(class_name, &block)
      klass = Class.new Address, &block
      Object.const_set class_name, klass
    end
Generate a new class using Address as the superclass.
 Accepts a string defining the inherited type.