# frozen_string_literal: true module Amoeba module Macros extend self def list @list ||= {} end def add(klass) @list ||= {} key = klass.name.demodulize.underscore.to_sym @list[key] = klass end end end