diff options
| author | Randy Morgan <[email protected]> | 2012-02-12 14:59:29 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-12 14:59:29 +0900 |
| commit | 15a9dcb6e06faf2630987264f358c386f3f5f496 (patch) | |
| tree | bcf924a5aa9779933c0a1293441d1001978eb037 /examples/example.rb | |
| parent | 69f005f2030733c12d0d41ab056768a7761c16c0 (diff) | |
| download | caxlsx-15a9dcb6e06faf2630987264f358c386f3f5f496.tar.gz caxlsx-15a9dcb6e06faf2630987264f358c386f3f5f496.zip | |
update example to include shared strings usage
Diffstat (limited to 'examples/example.rb')
| -rw-r--r-- | examples/example.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/example.rb b/examples/example.rb index 9ccb40fa..e88ffd32 100644 --- a/examples/example.rb +++ b/examples/example.rb @@ -194,5 +194,12 @@ s = p.to_stream() File.open('example_streamed.xlsx', 'w') { |f| f.write(s.read) } + + +##Using Shared Strings + p.use_shared_strings = true + p.serialize("shared_strings_example.xlsx") + + |
