aboutsummaryrefslogtreecommitdiffstats
path: root/lib/roo/formatters/yaml.rb
diff options
context:
space:
mode:
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)