aboutsummaryrefslogtreecommitdiffstats
path: root/lib/roo/formatters/yaml.rb
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:46 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:46 -0500
commitc77a15eed515fe6dc9b2e831670f4d484e23dace (patch)
tree87c79155c0b52b0e59eaf971f2b5bf9d860c77e4 /lib/roo/formatters/yaml.rb
parent537c7673bedbb1a2f77a3a088710546cb46506d0 (diff)
parentc62f8376a13e7a4f493167aba1c66a9201fc59c6 (diff)
Update upstream source from tag 'upstream/3.0.0'
Update to upstream version '3.0.0' with Debian dir ceed7b02bc1417ad11993c466d2350a6b62fbecf
Diffstat (limited to 'lib/roo/formatters/yaml.rb')
-rw-r--r--lib/roo/formatters/yaml.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/roo/formatters/yaml.rb b/lib/roo/formatters/yaml.rb
index 69ef3ab..090b334 100644
--- a/lib/roo/formatters/yaml.rb
+++ b/lib/roo/formatters/yaml.rb
@@ -13,7 +13,7 @@ module Roo
from_column ||= first_column(sheet)
to_column ||= last_column(sheet)
- result = "--- \n"
+ result = String.new("--- \n")
from_row.upto(to_row) do |row|
from_column.upto(to_column) do |col|
next if empty?(row, col, sheet)