Class: MergeExcel::Settings::ExtraDataRow::FilenameExtraDataRow

Inherits:
Object
  • Object
show all
Defined in:
lib/merge_excel/settings/extra_data_row.rb

Constant Summary collapse

TYPE =
:filename

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject (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

#typeObject (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