示例#1
0
        public override object Clone()
        {
            var clone_target = new RubyHash(DefaultValue);

            foreach (var key in clone_target.Keys)
            {
                clone_target.Add(Dup(key), Dup(clone_target[key]));
            }
            return(clone_target);
        }
示例#2
0
 public RubyHashDebugView(RubyHash hashtable)
 {
     this._hashtable = hashtable;
 }