Method: BBLib::SimpleInit::ClassMethods#init_foundation=

Defined in:
lib/bblib/core/mixins/simple_init.rb

#init_foundation=(toggle) ⇒ Object

Sets the init_foundation variable to true of false. When false, the new method behaves like any other class. If true, the new method can instantiate child classes using the :_class named parameter.



92
93
94
# File 'lib/bblib/core/mixins/simple_init.rb', line 92

def init_foundation=(toggle)
  @init_foundation = toggle
end