我试图awesome_print输出到文件而不是控制台,但我不知道如何做到这一点?
awesome_print
require "awesome_print" mySymbolizedHash = {'blah' => 'blabbbb', 'this' => 'that'}
ap mySymbolizedHash
ruby file output awesomeprint
awesomeprint ×1
file ×1
output ×1
ruby ×1