Sha256: 11bd97831b11a1d6523a5e9b7fd62fe9f0e3802df31a8bce634f2d8eacc9d834
Contents?: true
Size: 315 Bytes
Versions: 18
Compression:
Stored size: 315 Bytes
Contents
class Baza::Driver::ActiveRecord::Commands def initialize(args) @db = args.fetch(:db) @proxy_to = ::Baza::Driver.const_get(StringCases.snake_to_camel(@db.driver.driver_type)).const_get(:Commands).new(args) end def method_missing(name, *args, &blk) @proxy_to.__send__(name, *args, &blk) end end
Version data entries
18 entries across 18 versions & 1 rubygems