search for: hash_small

Displaying 1 result from an estimated 1 matches for "hash_small".

2006 Jun 23
0
to_yaml problem with option hash
...on to_yaml takes a hash of options, so something like .to_yaml( :Indent => 4, :Separator => ''''). I''ve tried this but the option hash has no effect, the default stay in place. Does anyone have an idea? Thank in advance, Bas CODE example (test_fixture.yml): <% hash_small = { "0"=>"1", "1"=>"2", "2"=>"3", "3"=>"4" } %> first: id: 1 name: Test Hash data: <%= hash_small.to_yaml( :Indent => 8, :Separator => '''') %> dateti...