Sha256: 395b04665d4c12ed1a55792c7462fd00ae37599e50cb634ccc8cc52f9115353b

Contents?: true

Size: 312 Bytes

Versions: 19

Compression:

Stored size: 312 Bytes

Contents

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

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
baza-0.0.38 lib/baza/driver/active_record/indexes.rb
baza-0.0.37 lib/baza/driver/active_record/indexes.rb
baza-0.0.36 lib/baza/driver/active_record/indexes.rb
baza-0.0.35 lib/baza/driver/active_record/indexes.rb
baza-0.0.34 lib/baza/driver/active_record/indexes.rb
baza-0.0.33 lib/baza/driver/active_record/indexes.rb
baza-0.0.32 lib/baza/driver/active_record/indexes.rb
baza-0.0.31 lib/baza/driver/active_record/indexes.rb
baza-0.0.30 lib/baza/driver/active_record/indexes.rb
baza-0.0.29 lib/baza/driver/active_record/indexes.rb
baza-0.0.28 lib/baza/driver/active_record/indexes.rb
baza-0.0.27 lib/baza/driver/active_record/indexes.rb
baza-0.0.26 lib/baza/driver/active_record/indexes.rb
baza-0.0.25 lib/baza/driver/active_record/indexes.rb
baza-0.0.24 lib/baza/driver/active_record/indexes.rb
baza-0.0.23 lib/baza/driver/active_record/indexes.rb
baza-0.0.22 lib/baza/driver/active_record/indexes.rb
baza-0.0.21 lib/baza/driver/active_record/indexes.rb
baza-0.0.20 lib/baza/drivers/active_record/indexes.rb