Class: Mysql2::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/mysql2/field.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name



2
3
4
# File 'lib/mysql2/field.rb', line 2

def name
  @name
end

#typeObject

Returns the value of attribute type



2
3
4
# File 'lib/mysql2/field.rb', line 2

def type
  @type
end