Class: TableColumnComponentPreview::TempObj
- Inherits:
-
Object
- Object
- TableColumnComponentPreview::TempObj
- Defined in:
- lib/alveole/previews/table_column_component_preview.rb
Instance Attribute Summary collapse
-
#fieldname ⇒ Object
Returns the value of attribute fieldname.
Instance Method Summary collapse
-
#initialize(fieldname = 'Example value') ⇒ TempObj
constructor
A new instance of TempObj.
Constructor Details
#initialize(fieldname = 'Example value') ⇒ TempObj
Returns a new instance of TempObj.
5 6 7 |
# File 'lib/alveole/previews/table_column_component_preview.rb', line 5 def initialize(fieldname = 'Example value') @fieldname = fieldname end |
Instance Attribute Details
#fieldname ⇒ Object
Returns the value of attribute fieldname.
3 4 5 |
# File 'lib/alveole/previews/table_column_component_preview.rb', line 3 def fieldname @fieldname end |