README.md in volatiledb-0.0.4 vs README.md in volatiledb-1.0.0
- old
+ new
@@ -2,11 +2,11 @@
The VolatileDB gem allows you to specify a key and an action yielding a particular piece of
data.
-This data will be stored in the /tmp folder of the file system you are currently running on. Data
+This data will be stored on the file system you are currently running on. Data
is accessible by key. Data will be read and written to storage using File.read() and File.open()
-- that's it. It's up to the consuming application to serialize and deserialize data correctly. All
VolatileDB does is push and pull data to the FS.
If the underlying file supporting the data is found to be missing, it will be re-initialized.
@@ -15,10 +15,10 @@
re-seeded periodically as conditions change.
#### Usage
require 'volatiledb'
- db = Volatile::DB.new
+ db = Volatile::DB.new("/tmp")
db.put(:foo) { "acts as" }
#=> :foo
db.get(:foo)
#=> "acts as"
db.get(:bar)