lib/rubyXL/objects/worksheet.rb in rubyXL-3.3.14 vs lib/rubyXL/objects/worksheet.rb in rubyXL-3.3.15

- old
+ new

@@ -187,14 +187,14 @@ define_element_name 'dataBar' end # http://www.schemacentral.com/sc/ooxml/e-ssml_iconSet-1.html class IconSet < OOXMLObject - define_attribute(:type, RubyXL::ST_IconSetType, :required => true, :default => '3TrafficLights1') - define_attribute(:showValue, :bool, :default => true) - define_attribute(:percent, :bool, :default => true) - define_attribute(:reverse, :bool, :default => false) - define_child_node(RubyXL::ConditionalFormatValue, :collection => true, :accessor => :cfvo) + define_attribute(:iconSet, RubyXL::ST_IconSetType, :default => '3TrafficLights1') + define_attribute(:showValue, :bool, :default => true) + define_attribute(:percent, :bool, :default => true) + define_attribute(:reverse, :bool, :default => false) + define_child_node(RubyXL::ConditionalFormatValue, :collection => [2..-1], :accessor => :cfvo) define_element_name 'iconSet' end # http://www.schemacentral.com/sc/ooxml/e-ssml_cfRule-1.html class ConditionalFormattingRule < OOXMLObject