# in-place version - modifies x
def stringify_values!(x)
  case x
...

Ruby On Recursively convert multidi...

by tneumann, October 05, 2007 15:51

oh I just realize that that...

D41d8cd98f00b204e9800998ecf8427e Talk
def stringify_values(x)
  case x
    when Hash: x.each_pair {|k,v| x[k] = stringify_values(v) }
...

Ruby On Recursively convert multidi...

by tneumann, October 05, 2007 15:43

you may want something more...

D41d8cd98f00b204e9800998ecf8427e Talk