gem generated
This commit is contained in:
parent
0b5fac32c6
commit
7584681757
3
README
3
README
|
@ -16,7 +16,7 @@ Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
cd sbdb
|
cd sbdb
|
||||||
gem install sbdb.gemspec
|
gem install sbdb-0.0.5.gem
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
=============
|
=============
|
||||||
|
@ -28,6 +28,7 @@ Usage
|
||||||
|
|
||||||
First, open environment and database
|
First, open environment and database
|
||||||
|
|
||||||
|
require 'sbdb'
|
||||||
Dir.mkdir 'newenv' rescue Errno::EEXIST
|
Dir.mkdir 'newenv' rescue Errno::EEXIST
|
||||||
env = SBDB::Env.new 'newenv', SBDB::CREATE
|
env = SBDB::Env.new 'newenv', SBDB::CREATE
|
||||||
db = env.open SBDB::Btree, 'newdb.db', 'mynewdb', SBDB::CREATE
|
db = env.open SBDB::Btree, 'newdb.db', 'mynewdb', SBDB::CREATE
|
||||||
|
|
BIN
sbdb-0.0.5.gem
Normal file
BIN
sbdb-0.0.5.gem
Normal file
Binary file not shown.
Loading…
Reference in a new issue