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

[Doc] Iterate through each sheet with "each_with_pagename" not working anymore #587

Open
cyrilsuzat opened this issue Feb 21, 2023 · 2 comments

Comments

@cyrilsuzat
Copy link

Steps to reproduce

xlsx = Roo::Spreadsheet.open('./new_prices.xlsx')

xlsx.each_with_pagename do |name, sheet|
  p name
end

=> #<Enumerator: #<Enumerator::Generator:0x0000000107d6b188>:each>

Issue

If think the method each_with_pagename has changed and the doc should be adapted accordingly, with something like this :

# Iterate through each sheet
xlsx.sheets.each do |name|
  sheet = xlsx.sheet(name)
  p name
end
@fonji
Copy link

fonji commented May 2, 2023

There are two open PRs that attemps to fix this #588 and #584 but no news…

@fonji
Copy link

fonji commented Nov 3, 2023

As #584 is merged, I guess this is just waiting for a new release

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

2 participants