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

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end