summaryrefslogtreecommitdiffstats
path: root/lib/roo/base.rb
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-02-08 00:39:56 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2023-02-08 00:39:56 -0500
commitae103e148eb3c15606b816505492d870ef062ad3 (patch)
treeb7916225d76ac8d1db28feff7aa46a4ee672b3dc /lib/roo/base.rb
parentf5fb17e5a64b215644bc104f099dad8c2f10c37d (diff)
New upstream version 2.10.0.upstream/2.10.0
Diffstat (limited to 'lib/roo/base.rb')
-rw-r--r--lib/roo/base.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/roo/base.rb b/lib/roo/base.rb
index f4ac9a3..91c8d1c 100644
--- a/lib/roo/base.rb
+++ b/lib/roo/base.rb
@@ -250,8 +250,10 @@ class Roo::Base
# iterate through all worksheets of a document
def each_with_pagename
- sheets.each do |s|
- yield sheet(s, true)
+ Enumerator.new do |yielder|
+ sheets.each do |s|
+ yielder << sheet(s, true)
+ end
end
end