Example #1
0
 public static object InstanceExec([NotNull] BlockParam /*!*/ block, object self, params object[] /*!*/ args)
 {
     return(RubyUtils.EvaluateInSingleton(self, block, args));
 }
Example #2
0
 public static object InstanceEval([NotNull] BlockParam /*!*/ block, object self)
 {
     return(RubyUtils.EvaluateInSingleton(self, block, null));
 }