diff options
| author | ochko <[email protected]> | 2012-04-04 00:34:24 +0900 |
|---|---|---|
| committer | ochko <[email protected]> | 2012-04-04 00:34:24 +0900 |
| commit | 78e2f076f0b0a1bbe651a3ce53075ae2cf778284 (patch) | |
| tree | 9ae5cd60bdfbce0e494987d4b4c8ebc731fde7fe /lib/axlsx/stylesheet | |
| parent | 9950bced40b5b9593212a6b5e3718665c82a5898 (diff) | |
| download | caxlsx-78e2f076f0b0a1bbe651a3ce53075ae2cf778284.tar.gz caxlsx-78e2f076f0b0a1bbe651a3ce53075ae2cf778284.zip | |
shared string should be faster than non-shared string serialization
Diffstat (limited to 'lib/axlsx/stylesheet')
| -rw-r--r-- | lib/axlsx/stylesheet/color.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/axlsx/stylesheet/color.rb b/lib/axlsx/stylesheet/color.rb index 78171607..497e2d4d 100644 --- a/lib/axlsx/stylesheet/color.rb +++ b/lib/axlsx/stylesheet/color.rb @@ -72,5 +72,9 @@ module Axlsx str << "/>" end + def signature + "#{@rgb}:#{auto}:#{@tint}" + end + end end |
