Sha256: f4f9273ca723ef0dca73b5f6262fc8ab89c18c1cf72a1d6acac13e492a162278
Contents?: true
Size: 471 Bytes
Versions: 11
Compression:
Stored size: 471 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 end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems