| Module | CoreEx::Module::MixInWithArgs::Assertions |
| In: |
lib/core_ex/module/mix_in_with_args.rb
|
| klass | [RW] |
# File lib/core_ex/module/mix_in_with_args.rb, line 83 def assert_mixin ( aModule, args=[], comment='' ) assert_nothing_raised(comment+" mixin") do @module.module_eval { mixin(aModule, *args) } end assert @module.include?(aModule) assert_kind_of aModule, @module.new, comment if @module.is_a? Class end