Last Updated: February 25, 2016
·
644
· dragonfax

surpress result output in irb

in irb (ruby interactive interpreter)

append ";0" to the command to avoid the big ugly output after a line of code that might return a large structure.

1.9.3p362 :101 > res = github.gists.get '47315e4079ae05537577';0
=> 0