doc/classes/Locale.html in gettext-1.90.0 vs doc/classes/Locale.html in gettext-1.91.0

- old
+ new

@@ -113,27 +113,27 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000081">cgi</a>&nbsp;&nbsp; - <a href="#M000080">cgi=</a>&nbsp;&nbsp; - <a href="#M000092">charset</a>&nbsp;&nbsp; - <a href="#M000094">clear</a>&nbsp;&nbsp; - <a href="#M000091">codeset</a>&nbsp;&nbsp; - <a href="#M000086">current</a>&nbsp;&nbsp; - <a href="#M000088">current=</a>&nbsp;&nbsp; - <a href="#M000093">current_charset</a>&nbsp;&nbsp; - <a href="#M000085">default</a>&nbsp;&nbsp; - <a href="#M000083">default=</a>&nbsp;&nbsp; - <a href="#M000090">get</a>&nbsp;&nbsp; - <a href="#M000089">set</a>&nbsp;&nbsp; - <a href="#M000079">set_cgi</a>&nbsp;&nbsp; - <a href="#M000087">set_current</a>&nbsp;&nbsp; - <a href="#M000082">set_default</a>&nbsp;&nbsp; - <a href="#M000084">system</a>&nbsp;&nbsp; - <a href="#M000095">system_module</a>&nbsp;&nbsp; + <a href="#M000082">cgi</a>&nbsp;&nbsp; + <a href="#M000081">cgi=</a>&nbsp;&nbsp; + <a href="#M000093">charset</a>&nbsp;&nbsp; + <a href="#M000095">clear</a>&nbsp;&nbsp; + <a href="#M000092">codeset</a>&nbsp;&nbsp; + <a href="#M000087">current</a>&nbsp;&nbsp; + <a href="#M000089">current=</a>&nbsp;&nbsp; + <a href="#M000094">current_charset</a>&nbsp;&nbsp; + <a href="#M000086">default</a>&nbsp;&nbsp; + <a href="#M000084">default=</a>&nbsp;&nbsp; + <a href="#M000091">get</a>&nbsp;&nbsp; + <a href="#M000090">set</a>&nbsp;&nbsp; + <a href="#M000080">set_cgi</a>&nbsp;&nbsp; + <a href="#M000088">set_current</a>&nbsp;&nbsp; + <a href="#M000083">set_default</a>&nbsp;&nbsp; + <a href="#M000085">system</a>&nbsp;&nbsp; + <a href="#M000096">system_module</a>&nbsp;&nbsp; </div> </div> </div> @@ -148,10 +148,11 @@ Module <a href="Locale/SystemBase.html" class="link">Locale::SystemBase</a><br /> Module <a href="Locale/SystemCGI.html" class="link">Locale::SystemCGI</a><br /> Module <a href="Locale/SystemJRuby.html" class="link">Locale::SystemJRuby</a><br /> Module <a href="Locale/SystemPosix.html" class="link">Locale::SystemPosix</a><br /> Module <a href="Locale/SystemWin32.html" class="link">Locale::SystemWin32</a><br /> +Module <a href="Locale/SystemWin32Table.html" class="link">Locale::SystemWin32Table</a><br /> Class <a href="Locale/Object.html" class="link">Locale::Object</a><br /> </div> @@ -162,15 +163,15 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000081" class="method-detail"> - <a name="M000081"></a> + <div id="method-M000082" class="method-detail"> + <a name="M000082"></a> <div class="method-heading"> - <a href="#M000081" class="method-signature"> + <a href="#M000082" class="method-signature"> <span class="method-name">cgi</span><span class="method-args">()</span> </a> </div> <div class="method-description"> @@ -181,27 +182,27 @@ <li>Returns: the CGI object </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000081-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000081-source"> + onclick="toggleCode('M000082-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000082-source"> <pre> <span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 100</span> 100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cgi</span> 101: <span class="ruby-ivar">@@locale_system_module</span>.<span class="ruby-identifier">cgi</span> 102: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000080" class="method-detail"> - <a name="M000080"></a> + <div id="method-M000081" class="method-detail"> + <a name="M000081"></a> <div class="method-heading"> - <a href="#M000080" class="method-signature"> + <a href="#M000081" class="method-signature"> <span class="method-name">cgi=</span><span class="method-args">(cgi_)</span> </a> </div> <div class="method-description"> @@ -215,12 +216,12 @@ <li>Returns: cgi_ </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000080-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000080-source"> + onclick="toggleCode('M000081-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000081-source"> <pre> <span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cgi=</span>(<span class="ruby-identifier">cgi_</span>) 94: <span class="ruby-identifier">set_cgi</span>(<span class="ruby-identifier">cgi_</span>) 95: <span class="ruby-identifier">cgi_</span> @@ -228,49 +229,49 @@ </pre> </div> </div> </div> - <div id="method-M000092" class="method-detail"> - <a name="M000092"></a> + <div id="method-M000093" class="method-detail"> + <a name="M000093"></a> <div class="method-heading"> - <a href="#M000092" class="method-signature"> + <a href="#M000093" class="method-signature"> <span class="method-name">charset</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Gets the <a href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale. +Gets the <a href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale (<a href="String.html">String</a>) </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000092-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000092-source"> + onclick="toggleCode('M000093-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000093-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 161</span> 161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">charset</span> 162: <span class="ruby-identifier">codeset</span> 163: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000094" class="method-detail"> - <a name="M000094"></a> + <div id="method-M000095" class="method-detail"> + <a name="M000095"></a> <div class="method-heading"> - <a href="#M000094" class="method-signature"> + <a href="#M000095" class="method-signature"> <span class="method-name">clear</span><span class="method-args">()</span> </a> </div> <div class="method-description"> @@ -281,12 +282,12 @@ <li>Returns: self </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000094-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000094-source"> + onclick="toggleCode('M000095-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000095-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 172</span> 172: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span> 173: <span class="ruby-identifier">set</span>(<span class="ruby-keyword kw">nil</span>) 174: <span class="ruby-identifier">set_current</span>(<span class="ruby-keyword kw">nil</span>) @@ -295,73 +296,73 @@ </pre> </div> </div> </div> - <div id="method-M000091" class="method-detail"> - <a name="M000091"></a> + <div id="method-M000092" class="method-detail"> + <a name="M000092"></a> <div class="method-heading"> - <a href="#M000091" class="method-signature"> + <a href="#M000092" class="method-signature"> <span class="method-name">codeset</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Same as <a href="Locale.html#M000092">charset</a>. Gets the <a -href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale. +Same as <a href="Locale.html#M000093">charset</a>. Gets the <a +href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale (<a href="String.html">String</a>) </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000091-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000091-source"> + onclick="toggleCode('M000092-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000092-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 155</span> 155: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">codeset</span> 156: <span class="ruby-identifier">current</span>.<span class="ruby-identifier">charset</span> 157: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000086" class="method-detail"> - <a name="M000086"></a> + <div id="method-M000087" class="method-detail"> + <a name="M000087"></a> <div class="method-heading"> - <a href="#M000086" class="method-signature"> + <a href="#M000087" class="method-signature"> <span class="method-name">current</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Gets the <a href="Locale.html#M000086">current</a> locale (<a +Gets the <a href="Locale.html#M000087">current</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </p> <p> -If the <a href="Locale.html#M000086">current</a> locale is not <a -href="Locale.html#M000089">set</a>, this returns <a -href="Locale.html#M000085">default</a> locale. +If the <a href="Locale.html#M000087">current</a> locale is not <a +href="Locale.html#M000090">set</a>, this returns <a +href="Locale.html#M000086">default</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000087">current</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000086-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000086-source"> + onclick="toggleCode('M000087-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000087-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 72</span> 72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current</span> 73: <span class="ruby-ivar">@@current</span> = <span class="ruby-identifier">default</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@@current</span> 74: <span class="ruby-ivar">@@current</span> @@ -369,40 +370,40 @@ </pre> </div> </div> </div> - <div id="method-M000088" class="method-detail"> - <a name="M000088"></a> + <div id="method-M000089" class="method-detail"> + <a name="M000089"></a> <div class="method-heading"> - <a href="#M000088" class="method-signature"> + <a href="#M000089" class="method-signature"> <span class="method-name">current=</span><span class="method-args">(lang)</span> </a> </div> <div class="method-description"> <p> -Sets a <a href="Locale.html#M000086">current</a> locale. This is a single -argument version of <a href="Locale.html#M000087">Locale.set_current</a>. +Sets a <a href="Locale.html#M000087">current</a> locale. This is a single +argument version of <a href="Locale.html#M000088">Locale.set_current</a>. </p> <ul> <li>lang: the <a href="Locale/Object.html">Locale::Object</a> </li> -<li>Returns: the <a href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000087">current</a> locale (<a href="Locale/Object.html">Locale::Object</a>). <pre> Locale.current = &quot;ja_JP.eucJP&quot; Locale.current = Locale::Object.new(&quot;ja&quot;, &quot;JP&quot;, &quot;eucJP&quot;) </pre> </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000088-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000088-source"> + onclick="toggleCode('M000089-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000089-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 111</span> 111: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current=</span>(<span class="ruby-identifier">lang</span>) 112: <span class="ruby-identifier">set_current</span>(<span class="ruby-identifier">lang</span>) 113: <span class="ruby-ivar">@@current</span> @@ -410,107 +411,107 @@ </pre> </div> </div> </div> - <div id="method-M000093" class="method-detail"> - <a name="M000093"></a> + <div id="method-M000094" class="method-detail"> + <a name="M000094"></a> <div class="method-heading"> - <a href="#M000093" class="method-signature"> + <a href="#M000094" class="method-signature"> <span class="method-name">current_charset</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Same as <a href="Locale.html#M000091">codeset</a>. Returns the <a -href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale. +Same as <a href="Locale.html#M000092">codeset</a>. Returns the <a +href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000092">charset</a> of the <a -href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000093">charset</a> of the <a +href="Locale.html#M000087">current</a> locale (<a href="String.html">String</a>) </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000093-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000093-source"> + onclick="toggleCode('M000094-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000094-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 166</span> 166: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_charset</span> 167: <span class="ruby-identifier">codeset</span> 168: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000085" class="method-detail"> - <a name="M000085"></a> + <div id="method-M000086" class="method-detail"> + <a name="M000086"></a> <div class="method-heading"> - <a href="#M000085" class="method-signature"> + <a href="#M000086" class="method-signature"> <span class="method-name">default</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Gets the <a href="Locale.html#M000085">default</a> locale. +Gets the <a href="Locale.html#M000086">default</a> locale. </p> <p> -If the <a href="Locale.html#M000085">default</a> locale not <a -href="Locale.html#M000089">set</a>, this returns <a -href="Locale.html#M000084">system</a> locale. +If the <a href="Locale.html#M000086">default</a> locale not <a +href="Locale.html#M000090">set</a>, this returns <a +href="Locale.html#M000085">system</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000085">default</a> locale (<a +<li>Returns: the <a href="Locale.html#M000086">default</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000085-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000085-source"> + onclick="toggleCode('M000086-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000086-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 64</span> 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default</span> 65: <span class="ruby-ivar">@@default</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@@default</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">system</span> 66: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000083" class="method-detail"> - <a name="M000083"></a> + <div id="method-M000084" class="method-detail"> + <a name="M000084"></a> <div class="method-heading"> - <a href="#M000083" class="method-signature"> + <a href="#M000084" class="method-signature"> <span class="method-name">default=</span><span class="method-args">(locale)</span> </a> </div> <div class="method-description"> <p> -Same as <a href="Locale.html#M000082">Locale.set_default</a>. +Same as <a href="Locale.html#M000083">Locale.set_default</a>. </p> <ul> -<li>locale: the <a href="Locale.html#M000085">default</a> locale (<a +<li>locale: the <a href="Locale.html#M000086">default</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </li> <li>Returns: locale. </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000083-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000083-source"> + onclick="toggleCode('M000084-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000084-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 49</span> 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default=</span>(<span class="ruby-identifier">locale</span>) 50: <span class="ruby-identifier">set_default</span>(<span class="ruby-identifier">locale</span>) 51: <span class="ruby-ivar">@@default</span> @@ -518,34 +519,34 @@ </pre> </div> </div> </div> - <div id="method-M000090" class="method-detail"> - <a name="M000090"></a> + <div id="method-M000091" class="method-detail"> + <a name="M000091"></a> <div class="method-heading"> - <a href="#M000090" class="method-signature"> + <a href="#M000091" class="method-signature"> <span class="method-name">current<br /> get<br /> </span> </a> </div> <div class="method-description"> <ul> -<li>Returns: the <a href="Locale.html#M000086">current</a> locale (<a +<li>Returns: the <a href="Locale.html#M000087">current</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </li> </ul> <p> <b>Notice</b>: lctype is deprecated. Use this with no parameter instead. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000090-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000090-source"> + onclick="toggleCode('M000091-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000091-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 148</span> 148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span> 149: <span class="ruby-ivar">@@current</span> = <span class="ruby-identifier">default</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@@current</span> 150: <span class="ruby-ivar">@@current</span> @@ -553,15 +554,15 @@ </pre> </div> </div> </div> - <div id="method-M000089" class="method-detail"> - <a name="M000089"></a> + <div id="method-M000090" class="method-detail"> + <a name="M000090"></a> <div class="method-heading"> - <a href="#M000089" class="method-signature"> + <a href="#M000090" class="method-signature"> <span class="method-name">set(lang)<br /> set(lang, country = nil, charset = nil)<br /> </span> </a> </div> @@ -573,31 +574,31 @@ </li> <li>country: country as <a href="String.html">String</a> or nil </li> -<li><a href="Locale.html#M000092">charset</a>: <a -href="Locale.html#M000092">charset</a> as <a href="String.html">String</a> +<li><a href="Locale.html#M000093">charset</a>: <a +href="Locale.html#M000093">charset</a> as <a href="String.html">String</a> or nil </li> <li>Returns: a <a href="Locale/Object.html">Locale::Object</a>. </li> </ul> <p> -Sets a <a href="Locale.html#M000085">default</a> locale. This function is -an alias of <a href="Locale.html#M000082">Locale.set_default</a> with -calling <a href="Locale.html#M000087">set_current</a>(nil). +Sets a <a href="Locale.html#M000086">default</a> locale. This function is +an alias of <a href="Locale.html#M000083">Locale.set_default</a> with +calling <a href="Locale.html#M000088">set_current</a>(nil). </p> <p> -<b>Notice</b>: <a href="Locale.html#M000089">Locale.set</a>(lctype, locale) +<b>Notice</b>: <a href="Locale.html#M000090">Locale.set</a>(lctype, locale) is deprecated. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000089-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000089-source"> + onclick="toggleCode('M000090-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000090-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 129</span> 129: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">lang</span>, <span class="ruby-identifier">country</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">charset</span> = <span class="ruby-keyword kw">nil</span>) 130: <span class="ruby-identifier">set_current</span>(<span class="ruby-keyword kw">nil</span>) 131: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">lang</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">String</span> @@ -612,15 +613,15 @@ </pre> </div> </div> </div> - <div id="method-M000079" class="method-detail"> - <a name="M000079"></a> + <div id="method-M000080" class="method-detail"> + <a name="M000080"></a> <div class="method-heading"> - <a href="#M000079" class="method-signature"> + <a href="#M000080" class="method-signature"> <span class="method-name">set_cgi</span><span class="method-args">(cgi_)</span> </a> </div> <div class="method-description"> @@ -634,12 +635,12 @@ <li>Returns: self </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000079-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000079-source"> + onclick="toggleCode('M000080-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000080-source"> <pre> <span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_cgi</span>(<span class="ruby-identifier">cgi_</span>) 86: <span class="ruby-ivar">@@locale_system_module</span>.<span class="ruby-identifier">set_cgi</span>(<span class="ruby-identifier">cgi_</span>) 87: <span class="ruby-keyword kw">self</span> @@ -647,39 +648,39 @@ </pre> </div> </div> </div> - <div id="method-M000087" class="method-detail"> - <a name="M000087"></a> + <div id="method-M000088" class="method-detail"> + <a name="M000088"></a> <div class="method-heading"> - <a href="#M000087" class="method-signature"> + <a href="#M000088" class="method-signature"> <span class="method-name">set_current</span><span class="method-args">(lang, country = nil, charset = nil)</span> </a> </div> <div class="method-description"> <p> -Sets a locale as the <a href="Locale.html#M000086">current</a> locale. +Sets a locale as the <a href="Locale.html#M000087">current</a> locale. </p> <p> -This returns the <a href="Locale.html#M000086">current</a> <a +This returns the <a href="Locale.html#M000087">current</a> <a href="Locale/Object.html">Locale::Object</a>. </p> <ul> <li>lang: <a href="Locale/Object.html">Locale::Object</a> or locale name(<a href="String.html">String</a>), or language name. </li> <li>country: the country code(<a href="String.html">String</a>) </li> -<li><a href="Locale.html#M000092">charset</a>: the <a -href="Locale.html#M000092">charset</a>(override the <a -href="Locale.html#M000092">charset</a> even if the locale name has <a -href="Locale.html#M000092">charset</a>). +<li><a href="Locale.html#M000093">charset</a>: the <a +href="Locale.html#M000093">charset</a>(override the <a +href="Locale.html#M000093">charset</a> even if the locale name has <a +href="Locale.html#M000093">charset</a>). </li> <li>Returns: self <pre> @@ -690,12 +691,12 @@ Locale.set_current(Locale::Object.new(&quot;ja&quot;, &quot;JP&quot;, &quot;eucJP&quot;)) </pre> </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000087-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000087-source"> + onclick="toggleCode('M000088-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000088-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 90</span> 90: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_current</span>(<span class="ruby-identifier">lang</span>, <span class="ruby-identifier">country</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">charset</span> = <span class="ruby-keyword kw">nil</span>) 91: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">lang</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> 92: <span class="ruby-ivar">@@current</span> = <span class="ruby-keyword kw">nil</span> @@ -712,36 +713,36 @@ </pre> </div> </div> </div> - <div id="method-M000082" class="method-detail"> - <a name="M000082"></a> + <div id="method-M000083" class="method-detail"> + <a name="M000083"></a> <div class="method-heading"> - <a href="#M000082" class="method-signature"> + <a href="#M000083" class="method-signature"> <span class="method-name">set_default</span><span class="method-args">(locale)</span> </a> </div> <div class="method-description"> <p> -Sets the <a href="Locale.html#M000085">default</a> locale (<a +Sets the <a href="Locale.html#M000086">default</a> locale (<a href="Locale/Object.html">Locale::Object</a> or <a href="String.html">String</a>(such as ja_JP.eucJP)). </p> <ul> -<li>locale: the <a href="Locale.html#M000085">default</a> locale +<li>locale: the <a href="Locale.html#M000086">default</a> locale </li> <li>Returns: self. </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000082-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000082-source"> + onclick="toggleCode('M000083-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000083-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 32</span> 32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_default</span>(<span class="ruby-identifier">locale</span>) 33: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span> 34: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Locale</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span> @@ -758,63 +759,63 @@ </pre> </div> </div> </div> - <div id="method-M000084" class="method-detail"> - <a name="M000084"></a> + <div id="method-M000085" class="method-detail"> + <a name="M000085"></a> <div class="method-heading"> - <a href="#M000084" class="method-signature"> + <a href="#M000085" class="method-signature"> <span class="method-name">system</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Gets the <a href="Locale.html#M000084">system</a> locale. +Gets the <a href="Locale.html#M000085">system</a> locale. </p> <ul> -<li>Returns: the <a href="Locale.html#M000084">system</a> locale (<a +<li>Returns: the <a href="Locale.html#M000085">system</a> locale (<a href="Locale/Object.html">Locale::Object</a>). </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000084-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000084-source"> + onclick="toggleCode('M000085-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000085-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system</span> 57: <span class="ruby-ivar">@@locale_system_module</span>.<span class="ruby-identifier">system</span> 58: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000095" class="method-detail"> - <a name="M000095"></a> + <div id="method-M000096" class="method-detail"> + <a name="M000096"></a> <div class="method-heading"> - <a href="#M000095" class="method-signature"> + <a href="#M000096" class="method-signature"> <span class="method-name">system_module</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Gets the <a href="Locale.html#M000086">current</a> <a -href="Locale.html#M000084">system</a> module. This is used for debugging. +Gets the <a href="Locale.html#M000087">current</a> <a +href="Locale.html#M000085">system</a> module. This is used for debugging. </p> <ul> -<li>Returns: the <a href="Locale.html#M000084">system</a> module. +<li>Returns: the <a href="Locale.html#M000085">system</a> module. </li> </ul> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000095-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000095-source"> + onclick="toggleCode('M000096-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000096-source"> <pre> <span class="ruby-comment cmt"># File lib/locale.rb, line 180</span> 180: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system_module</span> 181: <span class="ruby-ivar">@@locale_system_module</span> 182: <span class="ruby-keyword kw">end</span> \ No newline at end of file