Class: YesRecord::Column
- Inherits:
-
Struct
- Object
- Struct
- YesRecord::Column
- Defined in:
- lib/yes_record.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/yes_record.rb', line 8 def name @name end |
#primary_key ⇒ Object
Returns the value of attribute primary_key
8 9 10 |
# File 'lib/yes_record.rb', line 8 def primary_key @primary_key end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/yes_record.rb', line 8 def type @type end |