Class: ActiveWorkbench::Column
- Inherits:
-
Object
- Object
- ActiveWorkbench::Column
- Defined in:
- lib/active_workbench/base.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table, id, name) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(table, id, name) ⇒ Column
Returns a new instance of Column.
97 98 99 100 101 |
# File 'lib/active_workbench/base.rb', line 97 def initialize table, id, name @table = table @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
95 96 97 |
# File 'lib/active_workbench/base.rb', line 95 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
95 96 97 |
# File 'lib/active_workbench/base.rb', line 95 def name @name end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
95 96 97 |
# File 'lib/active_workbench/base.rb', line 95 def table @table end |