diff options
| author | Randy Morgan <[email protected]> | 2012-11-15 09:42:34 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-11-15 09:42:34 +0900 |
| commit | 3ead1acc36dc8c7a1fe8834972931b6213e6d140 (patch) | |
| tree | e8bd868535e7246c7d5507ca42f2e5f043cd83ce | |
| parent | f0c2414d657c4f82821afe4aa331cb91b38b9eb9 (diff) | |
| download | caxlsx-3ead1acc36dc8c7a1fe8834972931b6213e6d140.tar.gz caxlsx-3ead1acc36dc8c7a1fe8834972931b6213e6d140.zip | |
Patched for 1.8.7
Time to think about ending support for 1.8.7?
| -rw-r--r-- | lib/axlsx/workbook/worksheet/data_bar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/data_bar.rb b/lib/axlsx/workbook/worksheet/data_bar.rb index ad636248..e67f76a4 100644 --- a/lib/axlsx/workbook/worksheet/data_bar.rb +++ b/lib/axlsx/workbook/worksheet/data_bar.rb @@ -118,7 +118,7 @@ module Axlsx private def initialize_cfvos(cfvos) - self.class.default_cfvos.map.with_index do |default, index| + self.class.default_cfvos.each_with_index.map do |default, index| if index < cfvos.size value_objects << Cfvo.new(default.merge(cfvos[index])) else |
