Notes posted by KOTP
RSS feed
0 thanks
Using YAML
YAML library must be required.
Example to display an array as yaml formatted output
require 'yaml' puts [100, [99, 98, 97], 96, 95].to_yaml
require 'yaml' puts [100, [99, 98, 97], 96, 95].to_yaml