You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classConverterBUILD_IN_CONVERTERS=[# build-in converters from this https://github.com/pythonicrubyist/creek/blob/master/lib/creek/styles/converter.rb#L41]definitialize(custom_converters: [])@_converters=custom_converters + BUILD_IN_CONVERTERSenddefcall(value,type,style,options={})@_converters.eachdo |converter|
ifconverter.is_support?(value,type,style,options)returnconverter.convert(value,type,style,options)endendraiseStandardError,"Not found converter for cell #{options[:cell_name].to_s} with type #{type.to_s} and style #{style.to_s}"endend
I propose to make the converter this way:
Base value converter class
and pass to options cell name, sheet name, and raw sharing strings (in my case need to convert them to HTML with styles)
The text was updated successfully, but these errors were encountered: