本文整理了Java中org.jruby.RubyModule.proceedWithInclude
方法的一些代码示例,展示了RubyModule.proceedWithInclude
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RubyModule.proceedWithInclude
方法的具体详情如下:
包路径:org.jruby.RubyModule
类名称:RubyModule
方法名:proceedWithInclude
[英]Actually proceed with including the specified module above the given target in a hierarchy. Return the new module wrapper.
[中]实际上,继续将指定模块包含在层次结构中给定目标之上。返回新的模块包装器。
代码示例来源:origin: org.jruby/jruby-complete
/**
* Actually proceed with prepending the specified module below the given target
* in a hierarchy. Return the new module wrapper.
*
* @param insertBelow The hierarchy target below which to include the wrapped module
* @param moduleToPrepend The module to wrap and prepend
* @return The new module wrapper resulting from this prepend
*/
private RubyModule proceedWithPrepend(RubyModule insertBelow, RubyModule moduleToPrepend) {
if (!moduleToPrepend.isPrepended()) moduleToPrepend = moduleToPrepend.getNonIncludedClass();
return proceedWithInclude(insertBelow, moduleToPrepend);
}
代码示例来源:origin: org.jruby/jruby-core
/**
* Actually proceed with prepending the specified module below the given target
* in a hierarchy. Return the new module wrapper.
*
* @param insertBelow The hierarchy target below which to include the wrapped module
* @param moduleToPrepend The module to wrap and prepend
* @return The new module wrapper resulting from this prepend
*/
private RubyModule proceedWithPrepend(RubyModule insertBelow, RubyModule moduleToPrepend) {
if (!moduleToPrepend.isPrepended()) moduleToPrepend = moduleToPrepend.getNonIncludedClass();
return proceedWithInclude(insertBelow, moduleToPrepend);
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
currentInclusionPoint = proceedWithInclude(currentInclusionPoint, nextModule);
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
currentInclusionPoint = proceedWithInclude(currentInclusionPoint, nextModule);
代码示例来源:origin: org.jruby/jruby-core
currentInclusionPoint = proceedWithInclude(currentInclusionPoint, nextModule.getDelegate());
代码示例来源:origin: org.jruby/jruby-complete
currentInclusionPoint = proceedWithInclude(currentInclusionPoint, nextModule.getDelegate());
内容来源于网络,如有侵权,请联系作者删除!