public static BlockParam /*!*/ CreateBfcForYield(Proc proc) { if (proc != null) { return(new BlockParam(proc, BlockCallerKind.Yield, false)); } else { throw RubyExceptions.NoBlockGiven(); } }