Class: MergeExcel::Settings::ExtraDataRow::FilenameExtraDataRow
- Inherits:
-
Object
- Object
- MergeExcel::Settings::ExtraDataRow::FilenameExtraDataRow
- Defined in:
- lib/merge_excel/settings/extra_data_row.rb
Constant Summary collapse
- TYPE =
:filename
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(label) ⇒ FilenameExtraDataRow
constructor
A new instance of FilenameExtraDataRow.
Constructor Details
#initialize(label) ⇒ FilenameExtraDataRow
Returns a new instance of FilenameExtraDataRow.
10 11 12 13 |
# File 'lib/merge_excel/settings/extra_data_row.rb', line 10 def initialize(label) @label = label @type = :filename end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
9 10 11 |
# File 'lib/merge_excel/settings/extra_data_row.rb', line 9 def label @label end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'lib/merge_excel/settings/extra_data_row.rb', line 9 def type @type end |