I am opening very big YAML file. It takes a while. But after it opened it it is printing all its content – and it takes many times more time for it.
So how can I avoid printing result in Ruby console:
data = YAML.load_file( ... ) # some 1GB data file.
I assume you are doing this in the console. I usually add just “; :ok” if I don’t want to see the output.