1
2
3
4
# 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...

Avatar Talk
1
2
3
4
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...

Avatar Talk