From: James Edward Gray II Date: 2005-06-10T23:07:12+09:00 Subject: Re: How to take password from user On Jun 9, 2005, at 1:55 PM, Ara.T.Howard wrote: > hmmm... it's probably still in memory for a while unless there is > an explicit > method to clear it. some password libs have this feature. Would something like the following be an improvement, do you think? #!/usr/local/bin/ruby -w def fetch_password pass = "" pass << "password" pass ensure pass = nil end p fetch_password # => "password" __END__ James Edward Gray II