doc/classes/GetText/TextDomainManager.html in gettext-1.90.0 vs doc/classes/GetText/TextDomainManager.html in gettext-1.91.0
- old
+ new
@@ -91,18 +91,18 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000067">add_textdomain</a>
- <a href="#M000068">each</a>
- <a href="#M000064">each_all</a>
- <a href="#M000066">new</a>
- <a href="#M000063">output_charset</a>
- <a href="#M000062">output_charset=</a>
- <a href="#M000069">set_locale</a>
- <a href="#M000065">textdomain</a>
+ <a href="#M000068">add_textdomain</a>
+ <a href="#M000069">each</a>
+ <a href="#M000065">each_all</a>
+ <a href="#M000067">new</a>
+ <a href="#M000064">output_charset</a>
+ <a href="#M000063">output_charset=</a>
+ <a href="#M000070">set_locale</a>
+ <a href="#M000066">textdomain</a>
</div>
</div>
</div>
@@ -145,23 +145,23 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000064" class="method-detail">
- <a name="M000064"></a>
+ <div id="method-M000065" class="method-detail">
+ <a name="M000065"></a>
<div class="method-heading">
- <a href="#M000064" class="method-signature">
+ <a href="#M000065" class="method-signature">
<span class="method-name">each_all</span><span class="method-args">() {|textdomain| ...}</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000064-source">
+ onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000065-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 39</span>
39: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each_all</span>
40: <span class="ruby-ivar">@@textdomain_all</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
41: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">textdomain</span>
@@ -170,15 +170,15 @@
</pre>
</div>
</div>
</div>
- <div id="method-M000066" class="method-detail">
- <a name="M000066"></a>
+ <div id="method-M000067" class="method-detail">
+ <a name="M000067"></a>
<div class="method-heading">
- <a href="#M000066" class="method-signature">
+ <a href="#M000067" class="method-signature">
<span class="method-name">new</span><span class="method-args">(target, locale)</span>
</a>
</div>
<div class="method-description">
@@ -193,12 +193,12 @@
<li>locale: a <a href="../Locale/Object.html">Locale::Object</a>.
</li>
</ul>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000066-source">
+ onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000067-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 52</span>
52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">locale</span>)
53: <span class="ruby-ivar">@target</span> = <span class="ruby-identifier">target</span>
54: <span class="ruby-ivar">@locale</span> = <span class="ruby-identifier">locale</span>
@@ -207,90 +207,90 @@
</pre>
</div>
</div>
</div>
- <div id="method-M000063" class="method-detail">
- <a name="M000063"></a>
+ <div id="method-M000064" class="method-detail">
+ <a name="M000064"></a>
<div class="method-heading">
- <a href="#M000063" class="method-signature">
+ <a href="#M000064" class="method-signature">
<span class="method-name">output_charset</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p>
Gets the current <a
-href="TextDomainManager.html#M000063">output_charset</a>.
+href="TextDomainManager.html#M000064">output_charset</a>.
</p>
<ul>
-<li>Returns: <a href="TextDomainManager.html#M000063">output_charset</a>.
+<li>Returns: <a href="TextDomainManager.html#M000064">output_charset</a>.
</li>
</ul>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000063-source">
+ onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000064-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 35</span>
35: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">output_charset</span>
36: <span class="ruby-ivar">@@output_charset</span>
37: <span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000062" class="method-detail">
- <a name="M000062"></a>
+ <div id="method-M000063" class="method-detail">
+ <a name="M000063"></a>
<div class="method-heading">
- <a href="#M000062" class="method-signature">
+ <a href="#M000063" class="method-signature">
<span class="method-name">output_charset=</span><span class="method-args">(charset)</span>
</a>
</div>
<div class="method-description">
<p>
Sets the current <a
-href="TextDomainManager.html#M000063">output_charset</a>.
+href="TextDomainManager.html#M000064">output_charset</a>.
</p>
<ul>
-<li>charset: <a href="TextDomainManager.html#M000063">output_charset</a>.
+<li>charset: <a href="TextDomainManager.html#M000064">output_charset</a>.
</li>
-<li>Returns: <a href="TextDomainManager.html#M000063">output_charset</a>.
+<li>Returns: <a href="TextDomainManager.html#M000064">output_charset</a>.
</li>
</ul>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000062-source">
+ onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000063-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 29</span>
29: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">output_charset=</span>(<span class="ruby-identifier">charset</span>)
30: <span class="ruby-ivar">@@output_charset</span> = <span class="ruby-identifier">charset</span>
31: <span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000065" class="method-detail">
- <a name="M000065"></a>
+ <div id="method-M000066" class="method-detail">
+ <a name="M000066"></a>
<div class="method-heading">
- <a href="#M000065" class="method-signature">
+ <a href="#M000066" class="method-signature">
<span class="method-name">textdomain</span><span class="method-args">(domainname)</span>
</a>
</div>
<div class="method-description">
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000065-source">
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000066-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 45</span>
45: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">textdomain</span>(<span class="ruby-identifier">domainname</span>)
46: <span class="ruby-ivar">@@textdomain_all</span>[<span class="ruby-identifier">domainname</span>]
47: <span class="ruby-keyword kw">end</span>
@@ -299,22 +299,22 @@
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000067" class="method-detail">
- <a name="M000067"></a>
+ <div id="method-M000068" class="method-detail">
+ <a name="M000068"></a>
<div class="method-heading">
- <a href="#M000067" class="method-signature">
+ <a href="#M000068" class="method-signature">
<span class="method-name">add_textdomain</span><span class="method-args">(domainname, options = {})</span>
</a>
</div>
<div class="method-description">
<p>
-Add a <a href="TextDomainManager.html#M000065">textdomain</a>
+Add a <a href="TextDomainManager.html#M000066">textdomain</a>
</p>
<ul>
<li>options: If they aren‘t set or invalid, default values are used.
<ul>
@@ -324,12 +324,12 @@
</li>
</ul>
</li>
</ul>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000067-source">
+ onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000068-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 62</span>
62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_textdomain</span>(<span class="ruby-identifier">domainname</span>, <span class="ruby-identifier">options</span> = {})
63: <span class="ruby-identifier">path</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:path</span>]
64: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
@@ -349,26 +349,26 @@
</pre>
</div>
</div>
</div>
- <div id="method-M000068" class="method-detail">
- <a name="M000068"></a>
+ <div id="method-M000069" class="method-detail">
+ <a name="M000069"></a>
<div class="method-heading">
- <a href="#M000068" class="method-signature">
+ <a href="#M000069" class="method-signature">
<span class="method-name">each</span><span class="method-args">() {|textdomain| ...}</span>
</a>
</div>
<div class="method-description">
<p>
Iterate textdomains.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000068-source">
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000069-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 80</span>
80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
81: <span class="ruby-ivar">@textdomains</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
82: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">textdomain</span>
@@ -378,15 +378,15 @@
</pre>
</div>
</div>
</div>
- <div id="method-M000069" class="method-detail">
- <a name="M000069"></a>
+ <div id="method-M000070" class="method-detail">
+ <a name="M000070"></a>
<div class="method-heading">
- <a href="#M000069" class="method-signature">
+ <a href="#M000070" class="method-signature">
<span class="method-name">set_locale</span><span class="method-args">(locale, force = false)</span>
</a>
</div>
<div class="method-description">
@@ -408,11 +408,11 @@
<li>Returns: self
</li>
</ul>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000069-source">
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000070-source">
<pre>
<span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 93</span>
93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">locale</span>, <span class="ruby-identifier">force</span> = <span class="ruby-keyword kw">false</span>)
94: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@locale</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">force</span>
95: <span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
\ No newline at end of file