| Class | Module |
| In: |
lib/core_ex.rb
lib/core_ex/module/mix_in_with_args.rb |
| Parent: | Object |
| const_missing | -> | original_core_ex_const_missing |
| name | -> | the_standard_name |
| yaml_as | -> | yaml_as_bugged |
| include | -> | include_without_setup_call |
# File lib/core_ex/module/mix_in_with_args.rb, line 44 def include ( *someModules ) someModules.each do |aModule| mixin aModule end end
# File lib/core_ex/module/mix_in_with_args.rb, line 50 def mixin ( aModule, *args ) pair = [self, aModule] return if mix_in_initialized.include? pair call_block(:setup, aModule, *args) include_without_setup_call aModule extend aModule::ClassMethods if aModule.const_defined? :ClassMethods call_block(:teardown, aModule, *args) mix_in_initialized << pair self end