lib/javlibrary/database.rb in javlibrary-0.1.8 vs lib/javlibrary/database.rb in javlibrary-0.1.9

- old
+ new

@@ -1,16 +1 @@ -# 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 - - \ No newline at end of file