Class: SchemaErd::Column
- Inherits:
-
Data
- Object
- Data
- SchemaErd::Column
- Defined in:
- lib/schema_erd.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
readonly
Returns the value of attribute default.
-
#foreign_key_to ⇒ Object
readonly
Returns the value of attribute foreign_key_to.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#nullable ⇒ Object
readonly
Returns the value of attribute nullable.
-
#primary_key ⇒ Object
readonly
Returns the value of attribute primary_key.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#default ⇒ Object (readonly)
Returns the value of attribute default
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def default @default end |
#foreign_key_to ⇒ Object (readonly)
Returns the value of attribute foreign_key_to
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def foreign_key_to @foreign_key_to end |
#name ⇒ Object (readonly)
Returns the value of attribute name
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def name @name end |
#nullable ⇒ Object (readonly)
Returns the value of attribute nullable
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def nullable @nullable end |
#primary_key ⇒ Object (readonly)
Returns the value of attribute primary_key
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def primary_key @primary_key end |
#type ⇒ Object (readonly)
Returns the value of attribute type
15 16 17 |
# File 'lib/schema_erd.rb', line 15 def type @type end |