Module: Importer::ImportedObject

Defined in:
lib/importer/imported_object.rb,
lib/importer/imported_object/simple.rb,
lib/importer/imported_object/active_record.rb

Defined Under Namespace

Classes: ActiveRecord, Simple

Class Method Summary collapse

Class Method Details

.get_klass(import) ⇒ Object



3
4
5
# File 'lib/importer/imported_object.rb', line 3

def self.get_klass(import)
  import.class.to_s.sub("Importer::Import", "Importer::ImportedObject").constantize
end