Sha256: 460d411b2705723ec5724165ec3145817e8b020c01c7e625f87d96b4627af2aa
Contents?: true
Size: 489 Bytes
Versions: 19
Compression:
Stored size: 489 Bytes
Contents
module AdminIt # module DataBehavior private def import_data_module(base) @data_module = AdminIt.data_module(@entity_class) return unless @data_module.is_a?(Module) parents.reverse.each do |mod| next if mod.name.nil? begin import_module = @data_module.const_get(mod.name.split('::').last) include(import_module) if import_module.is_a?(Module) rescue NameError nil end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems