From: Nigel Wilkinson Date: 2005-06-08T07:15:59+09:00 Subject: Re: Saving YAML data --On Tuesday, June 07, 2005 07:08:17 +0900 ES wrote: > This is what I usually use: > > File.open('filename', 'w+b') {|file| YAML.dump my_data, file} > > E > Thanks, that seems to do what I want. With ref to the other solution for some reason I still get irb(main):051:0* require 'yaml' => false irb(main):052:0> y = YAML::Store.new( "./yaml.store.1", :Indent => 2, :Separator => '---.pstore' ) NameError: uninitialized constant YAML::Store from (irb):52 irb(main):053:0> But I have a result that works Cheers Nigel