Class: ActiveRecord::ConnectionAdapters::InformixColumn
- Inherits:
-
Column
- Object
- Column
- ActiveRecord::ConnectionAdapters::InformixColumn
- Defined in:
- lib/active_record/connection_adapters/informix_adapter.rb
Instance Method Summary collapse
-
#initialize(column) ⇒ InformixColumn
constructor
A new instance of InformixColumn.
Constructor Details
#initialize(column) ⇒ InformixColumn
Returns a new instance of InformixColumn.
62 63 64 65 66 |
# File 'lib/active_record/connection_adapters/informix_adapter.rb', line 62 def initialize(column) sql_type = make_type(column[:stype], column[:length], column[:precision], column[:scale]) super(column[:name], column[:default], sql_type, column[:nullable]) end |