adding a class to wrap fields

This commit is contained in:
Aaron Patterson 2010-07-09 10:18:17 -07:00
parent a3cdd92a9c
commit 6e38bff28d
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,7 @@ require 'mysql2/error'
require 'mysql2/mysql2'
require 'mysql2/client'
require 'mysql2/result'
require 'mysql2/field'
# = Mysql2
#

4
lib/mysql2/field.rb Normal file
View File

@ -0,0 +1,4 @@
module Mysql2
class Field < Struct.new(:name, :type)
end
end