Method: ICFS::Store#close

Defined in:
lib/icfs/store.rb

#close(fi) ⇒ Object

Close the file returned by file_read()

Parameters:

  • The file to close



198
199
200
201
202
203
204
# File 'lib/icfs/store.rb', line 198

def close(fi)
  if fi.respond_to?( :close! )
    fi.close!
  else
    fi.close
  end
end