Method: Axlsx::ColorScale#initialize
- Defined in:
- lib/axlsx/workbook/worksheet/color_scale.rb
#initialize {|_self| ... } ⇒ ColorScale
creates a new ColorScale object. This method will yield it self so you can alter the properites of the defauls conditional formating value object (cfvo and colors Two value objects and two colors are created on initialization and cannot be deleted.
25 26 27 28 29 |
# File 'lib/axlsx/workbook/worksheet/color_scale.rb', line 25 def initialize initialize_value_objects initialize_colors yield self if block_given? end |