Method: RubyXL::ColumnRanges#before_write_xml

Defined in:
lib/rubyXL/objects/column_range.rb

#before_write_xmlObject

[View source]

88
89
90
91
# File 'lib/rubyXL/objects/column_range.rb', line 88

def before_write_xml
  self.sort_by!(&:min)
  !self.empty?
end