IRB and large variables?
Posted
by tesmar
on Stack Overflow
See other posts from Stack Overflow
or by tesmar
Published on 2010-06-03T12:55:59Z
Indexed on
2010/06/03
13:04 UTC
Read the original article
Hit count: 334
How can I print a large variable nicely in an irb prompt? I have a variable that contains many variables which are long and the printout becomes a mess to wade through. What if I just want the variable names without their values? Or, can I print each one on a separate line, tabbed-in depending on depth?
© Stack Overflow or respective owner