Module: Txdb::Backends

Defined in:
lib/txdb/backends.rb,
lib/txdb/backends/globalize.rb,
lib/txdb/backends/globalize/reader.rb,
lib/txdb/backends/globalize/writer.rb,
lib/txdb/backends/globalize/backend.rb,
lib/txdb/backends/globalize/helpers.rb

Defined Under Namespace

Modules: Globalize

Class Method Summary collapse

Class Method Details

.allObject



14
15
16
# File 'lib/txdb/backends.rb', line 14

def all
  @all ||= {}
end

.get(name) ⇒ Object



10
11
12
# File 'lib/txdb/backends.rb', line 10

def get(name)
  all[name]
end

.register(name, klass) ⇒ Object



6
7
8
# File 'lib/txdb/backends.rb', line 6

def register(name, klass)
  all[name] = klass
end