Method: Persist.path

Defined in:
lib/persist/persist.rb

.pathObject

Public: Determine location of the persistent store file.

Examples

Persist.path
# => ".db.pstore"

Returns the path to the data file as a String.



205
206
207
208
209
# File 'lib/persist/persist.rb', line 205

def path
  initialize_db
  
  @db.path
end