From: James Gray Date: 2008-03-22T01:29:52+09:00 Subject: Re: Objects On Mar 21, 2008, at 11:19 AM, HadsS wrote: > can i create objects and store them in a file once and use it other > times when i need it after reopening the program.. please helpp...!! You sure can. Here's an example: object = "whatever" # this code saves an object File.open("path/to/file", "w") { |file| Marshal.dump(object, file) } # this code loads the object back object = File.open("path/to/file") { |file| Marshal.load(file) } Hope that helps. James Edward Gray II