doc/app/classes/Cms/Extensions/ActiveRecord/Base.html in browsercms-3.0.6 vs doc/app/classes/Cms/Extensions/ActiveRecord/Base.html in browsercms-3.1.0

- old
+ new

@@ -78,11 +78,11 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000247">updated_on_string</a>&nbsp;&nbsp; + <a href="#M000275">updated_on_string</a>&nbsp;&nbsp; </div> </div> </div> @@ -100,22 +100,22 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000247" class="method-detail"> - <a name="M000247"></a> + <div id="method-M000275" class="method-detail"> + <a name="M000275"></a> <div class="method-heading"> - <a href="#M000247" class="method-signature"> + <a href="#M000275" class="method-signature"> <span class="method-name">updated_on_string</span><span class="method-args">(fmt=&quot;%b %e, %Y&quot;)</span> </a> </div> <div class="method-description"> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000247-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000247-source"> + onclick="toggleCode('M000275-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000275-source"> <pre> <span class="ruby-comment cmt"># File lib/cms/extensions/active_record/base.rb, line 5</span> 5: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updated_on_string</span>(<span class="ruby-identifier">fmt</span>=<span class="ruby-value str">&quot;%b %e, %Y&quot;</span>) 6: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:updated_at</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">updated_at</span> 7: <span class="ruby-identifier">updated_at</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-identifier">fmt</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\s{2,}/</span>,<span class="ruby-value str">&quot; &quot;</span>) \ No newline at end of file