Class: ActiveRecord::ConnectionAdapters::ArFirebird::FbColumn
- Inherits:
-
Column
- Object
- Column
- ActiveRecord::ConnectionAdapters::ArFirebird::FbColumn
- Defined in:
- lib/active_record/connection_adapters/ar_firebird/fb_column.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
Instance Method Summary collapse
-
#initialize(name, default, sql_type_metadata = nil, null = true, table_name = nil, default_function = nil, collation = nil, comment = nil, firebird_options = {}) ⇒ FbColumn
constructor
A new instance of FbColumn.
Constructor Details
#initialize(name, default, sql_type_metadata = nil, null = true, table_name = nil, default_function = nil, collation = nil, comment = nil, firebird_options = {}) ⇒ FbColumn
Returns a new instance of FbColumn.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/active_record/connection_adapters/ar_firebird/fb_column.rb', line 7 def initialize( name, default, = nil, null = true, table_name = nil, default_function = nil, collation = nil, comment = nil, = {} ) @domain = .domain super( name, default, , null, default_function, collation: nil, comment: comment ) end |
Instance Attribute Details
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
6 7 8 |
# File 'lib/active_record/connection_adapters/ar_firebird/fb_column.rb', line 6 def domain @domain end |