lib/data_bank.rb
def withdraw
    if File.exists?("#{@path}/#{@filename}")
      data = File.read "#{@path}/#{@filename}"
      Marshal.load(Base64.decode64(data)) rescue NameError
    end
  end
# Loads the data stored at the end of the file form
# which it is called.  If data is present.
Loads the data stored at the end of the file form
which it is called.  If data is present.
Loads the data stored at the end of the file form which it is called . If data is present .
def withdraw
    if File.exists?("#{@path}/#{@filename}")
      data = File.read "#{@path}/#{@filename}"
      Marshal.load(Base64.decode64(data)) rescue NameError
    end
  end
def withdraw if File . exists? ( "#{@path}/#{@filename}" ) data = File . read "#{@path}/#{@filename}" Marshal . load ( Base64 . decode64 ( data ) ) rescue NameError end end
Loads the data stored at the end of the file form
which it is called.
Loads the data stored at the end of the file form which it is called .