Method: ExcelAbstraction::Sheet#headers
- Defined in:
- lib/excel_templating/excel_abstraction/sheet.rb
#headers(array, options = {}) ⇒ Object
16 17 18 19 |
# File 'lib/excel_templating/excel_abstraction/sheet.rb', line 16 def headers(array, = {}) Array(array).each { |element| header(element, ) } self end |