aboutsummaryrefslogtreecommitdiffstats
path: root/lib/roo/base.rb
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-02-08 00:40:16 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2023-02-08 00:40:16 -0500
commitb0bc0772184c68b8d4baac678c5fb707dc23af7f (patch)
tree62c95563dd5d57e9db8268227acf4cc91e75af04 /lib/roo/base.rb
parente44f5d5d1935ee40a6bbb232e649d91e8aa9ce74 (diff)
parentae103e148eb3c15606b816505492d870ef062ad3 (diff)
Update upstream source from tag 'upstream/2.10.0'
Update to upstream version '2.10.0' with Debian dir 3c0f78b1f632920ec992d7bf7e43a8b0ced0b21d
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