Class: LevelDb::Batch

Inherits:
Object
  • Object
show all
Includes:
Crud
Defined in:
lib/level_db.rb

Instance Method Summary collapse

Methods included from Crud

#delete, #get, #put

Methods included from Encoding

#decode_key, #decode_value, #encode_key, #encode_value

Constructor Details

#initialize(batch) ⇒ Batch

Returns a new instance of Batch.



311
312
313
# File 'lib/level_db.rb', line 311

def initialize(batch)
  @db = batch
end