html/en/doc_en.html in writeexcel-0.6.8 vs html/en/doc_en.html in writeexcel-0.6.9
- old
+ new
@@ -404,11 +404,11 @@
<p>and it must be less than 32 characters. In addition, you cannot use the same, case insensitive, <code>sheetname</code> for more than one worksheet.</p>
<p>You can specify <code>UTF-16BE</code> worksheet names using an additional optional parameter:</p>
<pre>
- name = pack 'n', 0x263a
+ name = [0x263a].pack('n')
worksheet = workbook.add_worksheet(name, true) # Smiley
</pre>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="add_format"
@@ -489,11 +489,11 @@
</pre>
</li>
</ul>
<p>See <a href="#" class="podlinkpod"
->WriteExcel::Chart</a> for details on how to configure the chart object once it is created. See also the <code>chart_*.pl</code> programs in the examples directory of the distro.</p>
+>WriteExcel::Chart</a> for details on how to configure the chart object once it is created. See also the <code>chart_*.rb</code> programs in the examples directory of the distro.</p>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="add_chart_ext"
>add_chart_ext(chart_data, chartname, name_utf16be = false)</a></h2>
@@ -986,11 +986,11 @@
>write_utf16le_string(row, column, string [, format])</a></h2>
<p><code>UTF-16</code> data can be changed from little-endian to big-endian format (and vice-versa) as follows:</p>
<pre>
- utf16be = pack 'n*', unpack 'v*', utf16le
+ utf16be = [utf16le.unpack('v*')].pack('n*')
</pre>
<h2><a class='u' href='#___top' title='click to go to top of document'
name="write_blank"
>write_blank(row, column [, format])</a></h2>
@@ -5036,10 +5036,10 @@
DAYS360 INDEX NORMDIST SKEW ZTEST
</pre>
<!--
-<p>You can also modify the module to support function names in the following languages: German, French, Spanish, Portuguese, Dutch, Finnish, Italian and Swedish. See the <code>function_locale.pl</code> program in the <code>examples</code> directory of the distro.</p>
+<p>You can also modify the module to support function names in the following languages: German, French, Spanish, Portuguese, Dutch, Finnish, Italian and Swedish. See the <code>function_locale.rb</code> program in the <code>examples</code> directory of the distro.</p>
-->
<p>For a general introduction to Excel's formulas and an explanation of the syntax of the function refer to the Excel help files or the following: <a href="http://office.microsoft.com/en-us/assistance/CH062528031033.aspx" class="podlinkurl"
>http://office.microsoft.com/en-us/assistance/CH062528031033.aspx</a>.</p>