Skip to content
New issue

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

Return numeric values for a range #378

Open
Drowze opened this issue Jul 20, 2020 · 0 comments
Open

Return numeric values for a range #378

Drowze opened this issue Jul 20, 2020 · 0 comments

Comments

@Drowze
Copy link

Drowze commented Jul 20, 2020

I am working on a gem to parse and edit spreadsheets that might contain date and currency cells of any currency (the spreadsheets are from this project: https://aspirebudget.com/). Instead of having to do the hard work of parsing the strings (or calling #numeric_value on each one of them), I want to be able to to have a rows-like method returning only the numeric values (where they apply).

I opened #377 which has a proof of concept of it, adding a couple new the methods to Worksheet: one that should return the rows normally but replacing the numeric_values where they exist (with the notable exception of dirty cells) and one that will return the input_values instead.

Let me know your thoughts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant