We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be good to support Proc/lambda for column types
This could be supported as
.to_xlsx( column_types: [ :string, ->(cell_val){ cell_val.start_with?("http") ? :hyperlink : :string }, :float, ] )
We dont need to do anything additional for spreadsheet_columns because its already instance evaluated so you can already do things like
spreadsheet_columns
.to_xlsx( spreadsheet_columns: ->(){ [ "Foo", :foo, :string "Bar", :bar, (bar.start_with?("http") ? :hyperlink : :string) "Baz", :baz, :float ] } )
The text was updated successfully, but these errors were encountered:
This is being implemented in #51 if you want to try this out
Sorry, something went wrong.
This is now implemented in master.
No branches or pull requests
It would be good to support Proc/lambda for column types
This could be supported as
We dont need to do anything additional for
spreadsheet_columns
because its already instance evaluated so you can already do things likeThe text was updated successfully, but these errors were encountered: