doc/classes/ActionView/Helpers/FormBuilder.html in gettext-1.91.0 vs doc/classes/ActionView/Helpers/FormBuilder.html in gettext-1.92.0

- old
+ new

@@ -84,11 +84,11 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000131">label_with_gettext</a>&nbsp;&nbsp; + <a href="#M000069">label_with_gettext</a>&nbsp;&nbsp; </div> </div> </div> @@ -113,28 +113,28 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000131" class="method-detail"> - <a name="M000131"></a> + <div id="method-M000069" class="method-detail"> + <a name="M000069"></a> <div class="method-heading"> - <a href="#M000131" class="method-signature"> + <a href="#M000069" class="method-signature"> <span class="method-name">label_with_gettext</span><span class="method-args">(method, text = nil, options = {})</span> </a> </div> <div class="method-description"> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000131-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000131-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/rails.rb, line 292</span> -292: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">label_with_gettext</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">text</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span> = {}) -293: <span class="ruby-identifier">text</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">s_</span>(<span class="ruby-node">&quot;#{@object.class}|#{method.to_s.humanize}&quot;</span>) -294: <span class="ruby-ivar">@template</span>.<span class="ruby-identifier">label</span>(<span class="ruby-ivar">@object_name</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">:object</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@object</span>)) -295: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File lib/gettext/rails.rb, line 308</span> +308: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">label_with_gettext</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">text</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span> = {}) +309: <span class="ruby-identifier">text</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">s_</span>(<span class="ruby-node">&quot;#{@object.class}|#{method.to_s.humanize}&quot;</span>) +310: <span class="ruby-ivar">@template</span>.<span class="ruby-identifier">label</span>(<span class="ruby-ivar">@object_name</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">:object</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@object</span>)) +311: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> \ No newline at end of file