Open Pauloparakleto opened 1 year ago
You found this amazing way of declaring a module in runtime Practice it creating some samples.
def csv_classes csv_files.map do |file| self.class.module_eval(file.classify).new end end
You found this amazing way of declaring a module in runtime Practice it creating some samples.