Method: RubyXL::LegacyCell#change_fill
- Defined in:
- lib/rubyXL/cell.rb
#change_fill(rgb = 'ffffff') ⇒ Object
changes fill color of cell
20 21 22 23 24 |
# File 'lib/rubyXL/cell.rb', line 20 def change_fill(rgb='ffffff') validate_worksheet Color.validate_color(rgb) self.style_index = workbook.modify_fill(self.style_index,rgb) end |