Ejemplo n.º 1
0
 public static RubyModule /*!*/ Freeze(RubyContext /*!*/ context, RubyModule /*!*/ self)
 {
     // TODO:
     context.FreezeObject(self);
     return(self);
 }
Ejemplo n.º 2
0
 public static RubyModule/*!*/ Freeze(RubyContext/*!*/ context, RubyModule/*!*/ self) {
     // TODO:
     context.FreezeObject(self);
     return self;            
 }
Ejemplo n.º 3
0
 public static object Freeze(RubyContext/*!*/ context, object self) {
     if (RubyUtils.IsRubyValueType(self)) {
         return self; // can't freeze value types
     }
     context.FreezeObject(self);
     return self;
 }