Method: BBLib::SimpleInit::ClassMethods#_super_init_type
- Defined in:
- lib/bblib/core/mixins/simple_init.rb
#_super_init_type ⇒ Object
Used to load the init type of the nearest ancestor for inheritance.
148 149 150 151 152 153 154 |
# File 'lib/bblib/core/mixins/simple_init.rb', line 148 def _super_init_type ancestors.each do |ancestor| next if ancestor == self return ancestor.init_type if ancestor.respond_to?(:init_type) end :strict end |