diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-22 20:13:13 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-22 20:13:13 +0200 |
| commit | 083c4c6d62011cd88966d608b0c6bb736f300a0c (patch) | |
| tree | b5ceb9b3a32c4130d84c3075966b4033bf32a118 /test/stylesheet/tc_cell_alignment.rb | |
| parent | 6752225bbb8a9eec905ec02a98f1a25a309c404a (diff) | |
| download | caxlsx-083c4c6d62011cd88966d608b0c6bb736f300a0c.tar.gz caxlsx-083c4c6d62011cd88966d608b0c6bb736f300a0c.zip | |
Use Ruby 1.9 hash syntax (non-production code)
Diffstat (limited to 'test/stylesheet/tc_cell_alignment.rb')
| -rw-r--r-- | test/stylesheet/tc_cell_alignment.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/stylesheet/tc_cell_alignment.rb b/test/stylesheet/tc_cell_alignment.rb index 2e95db54..d12ff74b 100644 --- a/test/stylesheet/tc_cell_alignment.rb +++ b/test/stylesheet/tc_cell_alignment.rb @@ -17,9 +17,9 @@ class TestCellAlignment < Test::Unit::TestCase assert_nil(@item.justifyLastLine) assert_nil(@item.shrinkToFit) assert_nil(@item.readingOrder) - options = { :horizontal => :left, :vertical => :top, :textRotation => 3, - :wrapText => true, :indent => 2, :relativeIndent => 5, - :justifyLastLine => true, :shrinkToFit => true, :readingOrder => 2 } + options = { horizontal: :left, vertical: :top, textRotation: 3, + wrapText: true, indent: 2, relativeIndent: 5, + justifyLastLine: true, shrinkToFit: true, readingOrder: 2 } ca = Axlsx::CellAlignment.new options options.each do |key, value| |
