method
call
1.1.4 -
Show latest stable
- Class:
Spec::Example::ModuleInclusionWarnings::MethodDispatcher
call(sym, *args, &blk)public
No documentation available.
# File lib/spec/example/module_inclusion_warnings.rb, line 18
def call(sym, *args, &blk)
Kernel.warn("Modules will no longer be automatically included in RSpec version 1.1.4. Called from #{caller[2]}")
@target.extend @mod
@target.send(sym, *args, &blk)
end