Module: Anemone::Storage

Defined in:
lib/anemone/storage.rb,
lib/anemone/storage/pstore.rb,
lib/anemone/storage/tokyo_cabinet.rb

Defined Under Namespace

Classes: PStore, TokyoCabinet

Class Method Summary collapse

Class Method Details

.Hash(*args) ⇒ Object



4
5
6
# File 'lib/anemone/storage.rb', line 4

def self.Hash(*args)
  Hash.new(*args)
end

.PStore(*args) ⇒ Object



8
9
10
11
# File 'lib/anemone/storage.rb', line 8

def self.PStore(*args)
  require 'anemone/storage/pstore'
  self::PStore.new(*args)
end

.TokyoCabinet(file) ⇒ Object



13
14
15
16
# File 'lib/anemone/storage.rb', line 13

def self.TokyoCabinet(file)
  require 'anemone/storage/tokyo_cabinet'
  self::TokyoCabinet.new(file)
end