Class: TestColumn
- Inherits:
-
Struct
- Object
- Struct
- TestColumn
- Defined in:
- lib/generators/rider_kick/structure_generator_unit_spec.rb,
lib/generators/rider_kick/structure_generator_comprehensive_spec.rb
Overview
Define Column struct at top level to avoid dynamic constant assignment warning
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#name ⇒ Object
Returns the value of attribute name.
-
#null ⇒ Object
Returns the value of attribute null.
-
#precision ⇒ Object
Returns the value of attribute precision.
-
#scale ⇒ Object
Returns the value of attribute scale.
-
#sql_type ⇒ Object
Returns the value of attribute sql_type.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def default @default end |
#limit ⇒ Object
Returns the value of attribute limit
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def limit @limit end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def name @name end |
#null ⇒ Object
Returns the value of attribute null
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def null @null end |
#precision ⇒ Object
Returns the value of attribute precision
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def precision @precision end |
#scale ⇒ Object
Returns the value of attribute scale
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def scale @scale end |
#sql_type ⇒ Object
Returns the value of attribute sql_type
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def sql_type @sql_type end |
#type ⇒ Object
Returns the value of attribute type
9 10 11 |
# File 'lib/generators/rider_kick/structure_generator_unit_spec.rb', line 9 def type @type end |