Sha256: 6bc63549335fab5570ee37e00f15fc545ca1c0064a7be85f4ca90aa2796f2047

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

# encoding: utf-8

require 'mysql2'

module Javlibrary
    def client
        client = Mysql2::Client.new(:host => "127.0.0.1",
                                    :username => "root",
                                    :password => "XuHefeng",
                                    :database => "javlibrary_new")
    end

    module_function :client
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
javlibrary-0.1.8 lib/javlibrary/database.rb
javlibrary-0.1.7 lib/javlibrary/database.rb
javlibrary-0.1.6 lib/javlibrary/database.rb