initial lib dir stuff

This commit is contained in:
Brian Lopez 2010-04-02 16:14:16 -07:00
parent 559bd3d426
commit ed62fe51c3
2 changed files with 25 additions and 0 deletions

11
lib/mysql2.rb Normal file
View File

@ -0,0 +1,11 @@
# encoding: UTF-8
require 'mysql2_ext'
# = Mysql2
#
# A modern MySQL client library for Ruby, binding to libmysql
class Mysql2
VERSION = "0.0.1"
end

14
lib/mysql2/mysql_gem.rb Normal file
View File

@ -0,0 +1,14 @@
# encoding: UTF-8
require 'mysql2' unless defined? Mysql2
class Mysql2
class Result
def each_hash(&block)
each(&block)
end
def free
# no-op
end
end
end