diff options
| author | Randy Morgan <[email protected]> | 2012-05-13 14:39:55 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-05-13 14:39:55 +0900 |
| commit | d46c97f6576aceaf30424b221188d80c7a4ecf64 (patch) | |
| tree | 1023a42ac4b163b64331e1a7d115b2c73425815f /lib/axlsx/stylesheet/gradient_fill.rb | |
| parent | d6ada11da88e4f5c8f488e36149f630272226187 (diff) | |
| download | caxlsx-d46c97f6576aceaf30424b221188d80c7a4ecf64.tar.gz caxlsx-d46c97f6576aceaf30424b221188d80c7a4ecf64.zip | |
patch gradient fill serialization
Diffstat (limited to 'lib/axlsx/stylesheet/gradient_fill.rb')
| -rw-r--r-- | lib/axlsx/stylesheet/gradient_fill.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/gradient_fill.rb b/lib/axlsx/stylesheet/gradient_fill.rb index 514e0cfd..41c1bb46 100644 --- a/lib/axlsx/stylesheet/gradient_fill.rb +++ b/lib/axlsx/stylesheet/gradient_fill.rb @@ -68,7 +68,7 @@ module Axlsx # @param [String] str # @return [String] def to_xml_string(str = '') - str << '<gradientFill' + str << '<gradientFill ' h = self.instance_values.reject { |k,v| k.to_sym == :stop } str << h.map { |key, value| '' << key.to_s << '="' << value.to_s << '"' }.join(' ') str << '>' |
