Method: RubyXL::WorksheetConvenienceMethods#change_row_strikethrough
- Defined in:
- lib/rubyXL/convenience_methods/worksheet.rb
permalink #change_row_strikethrough(row = 0, struckthrough = false) ⇒ Object
[View source]
545 546 547 548 549 550 |
# File 'lib/rubyXL/convenience_methods/worksheet.rb', line 545 def change_row_strikethrough(row = 0, struckthrough=false) ensure_cell_exists(row) font = row_font(row).dup font.set_strikethrough(struckthrough) change_row_font(row, Worksheet::STRIKETHROUGH, struckthrough, font) end |