Sha256: a225d834198c3e1aedcb9775eac9998267d87f630e7e8be4223cb7068e9bb69e

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

class Baza::Driver::ActiveRecord::Indexes
  def initialize(args)
    @args = args
    @proxy_to = ::Baza::Driver.const_get(StringCases.snake_to_camel(@args[:db].conn.conn_type)).const_get(:Indexes).new(@args)
  end

  def method_missing(name, *args, &blk)
    @proxy_to.__send__(name, *args, &blk)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
baza-0.0.19 lib/baza/drivers/active_record/indexes.rb
baza-0.0.18 lib/baza/drivers/active_record/indexes.rb