Sha256: c2162958e17ac4cff6e07c28c74919cb0a8f5874c5464aabdeac12b40d869de7

Contents?: true

Size: 289 Bytes

Versions: 23

Compression:

Stored size: 289 Bytes

Contents

module DbCharmer
  class ConnectionProxy < BlankSlate
    def initialize(abstract_class)
      @abstract_connection_class = abstract_class
    end

    def method_missing(meth, *args, &block)
      @abstract_connection_class.retrieve_connection.send(meth, *args, &block)
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
glebpom-db-charmer-1.1.5 lib/db_charmer/connection_proxy.rb
glebpom-db-charmer-1.3.0 lib/db_charmer/connection_proxy.rb
kovyrin-db-charmer-1.1.0 lib/db_charmer/connection_proxy.rb
kovyrin-db-charmer-1.1.2 lib/db_charmer/connection_proxy.rb
kovyrin-db-charmer-1.1.3 lib/db_charmer/connection_proxy.rb
kovyrin-db-charmer-1.2.0 lib/db_charmer/connection_proxy.rb
db-charmer-1.5.3 lib/db_charmer/connection_proxy.rb
db-charmer-1.5.2 lib/db_charmer/connection_proxy.rb
db-charmer-1.5.1 lib/db_charmer/connection_proxy.rb
db-charmer-1.5.0 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.6 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.5 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.4 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.3 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.1 lib/db_charmer/connection_proxy.rb
db-charmer-1.4.0 lib/db_charmer/connection_proxy.rb
db-charmer-1.3.4 lib/db_charmer/connection_proxy.rb
db-charmer-1.3.3 lib/db_charmer/connection_proxy.rb
db-charmer-1.3.2 lib/db_charmer/connection_proxy.rb
db-charmer-1.3.1 lib/db_charmer/connection_proxy.rb