Class: RailsDbBrowser::ConnectionKeeper::Column
- Inherits:
-
Object
- Object
- RailsDbBrowser::ConnectionKeeper::Column
- Defined in:
- lib/rails_db_browser/connection_keeper.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#name ⇒ Object
Returns the value of attribute name.
-
#null ⇒ Object
Returns the value of attribute null.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type, default, null) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(name, type, default, null) ⇒ Column
Returns a new instance of Column.
129 130 131 132 133 134 |
# File 'lib/rails_db_browser/connection_keeper.rb', line 129 def initialize(name, type, default, null) @name = name @type = type @default = default @null = null end |
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default.
128 129 130 |
# File 'lib/rails_db_browser/connection_keeper.rb', line 128 def default @default end |
#name ⇒ Object
Returns the value of attribute name.
128 129 130 |
# File 'lib/rails_db_browser/connection_keeper.rb', line 128 def name @name end |
#null ⇒ Object
Returns the value of attribute null.
128 129 130 |
# File 'lib/rails_db_browser/connection_keeper.rb', line 128 def null @null end |
#type ⇒ Object
Returns the value of attribute type.
128 129 130 |
# File 'lib/rails_db_browser/connection_keeper.rb', line 128 def type @type end |