Class: Liquigen::Column
- Inherits:
-
Object
- Object
- Liquigen::Column
- Defined in:
- lib/liquigen/column.rb
Instance Attribute Summary collapse
-
#auto_increment ⇒ Object
Returns the value of attribute auto_increment.
-
#constraints ⇒ Object
Returns the value of attribute constraints.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Column
constructor
A new instance of Column.
Constructor Details
Instance Attribute Details
#auto_increment ⇒ Object
Returns the value of attribute auto_increment.
8 9 10 |
# File 'lib/liquigen/column.rb', line 8 def auto_increment @auto_increment end |
#constraints ⇒ Object
Returns the value of attribute constraints.
9 10 11 |
# File 'lib/liquigen/column.rb', line 9 def constraints @constraints end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/liquigen/column.rb', line 5 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/liquigen/column.rb', line 6 def type @type end |