initial lib dir stuff
This commit is contained in:
parent
559bd3d426
commit
ed62fe51c3
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue