Method: Database.create

Defined in:
lib/cryo/database.rb

.create(options = {}) ⇒ Object



11
12
13
# File 'lib/cryo/database.rb', line 11

def create(options={})
  const_get(options[:type].to_s.capitalize).new(options)
end