Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
Flowdock
Notes posted by KOTP
RSS feed
KOTP
-
August 3, 2009 - (v1_8_6_287)
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