Started working on cell value formats
Fixed typo in README
Format array is now a constant (FARY)
Initial version of Sheet::to_m method
Cell now has a numformat attribute. A new module called Numformats will contain methods related to numeric formatting. to_r and to_d are now obsolete. Xlsheet init parameter (styles). Stylefile is opened in the workbook. Matrixto gets a :values option (this will be obsoleted shortly). Slight Gemspec and .md description change
Some speed optimizations. matrixto does not accept fmt parameter any more. fixed typos
Added badge
Added numformats.rb. Cleaned styles.rb from unnecessary comments.
Merge branch '0.3.0' of https://github.com/gbiczo/oxcelix into 0.3.0
Added Numformats
finalized numeric method with a regex composed by 6 members: prefix, decimals, separator, floats, expo, postfix. This obsoletes the vgrp method as well as the other ones (still in the numformats.rb file.) TODO: delete all unnecessary code and provide a meaningful return value.
Code cleanup. TODO: split format string (;)? cellhelper.rb to be cleaned up
Numformats.rb cleanup. Documented new modules/methods. Restructured to_ru and to_fmt.
Numformat is now included in Workbook. Dtmap became a constant. New method Numformats::add converts the temparray to a series of numformat hashes and adds it to the main numformat array. to_ru, to_fmt, datetime, numeric are now Workbook methods. Slight code cleanup.
Cleared @numformats from Workbook. Formatarray is now a Numformats module constant available to any class including it.
to_ru and to_fmt methods are now encapsulated in the Numhelper method. This is not only cleaner, ensures them to be included in Cell and only there.
Numberhelper included in Cell class. Various typos corrected. Cell#to_ru and Cell#to_fmt now reflect the inclusion of the Numberformats module.
Added documentation to Formatarray. Fixed bug which prevented cells containing e.g. String values AND datetime/numeric formatting code to be properly returned when to_ru or to_fmt was invoked. Code cleanup.
Path cleanup
Renamed add to add_custom_formats