Class: DB2::Parameter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/vendor/db2.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, size, decimalDigits) ⇒ Parameter

Returns a new instance of Parameter.



358
359
360
# File 'lib/active_record/vendor/db2.rb', line 358

def initialize(type, size, decimalDigits)
  @type, @size, @decimalDigits = type, size, decimalDigits
end

Instance Attribute Details

#decimalDigitsObject (readonly)

Returns the value of attribute decimalDigits.



357
358
359
# File 'lib/active_record/vendor/db2.rb', line 357

def decimalDigits
  @decimalDigits
end

#sizeObject (readonly)

Returns the value of attribute size.



357
358
359
# File 'lib/active_record/vendor/db2.rb', line 357

def size
  @size
end

#typeObject (readonly)

Returns the value of attribute type.



357
358
359
# File 'lib/active_record/vendor/db2.rb', line 357

def type
  @type
end