rdoc/RubyXL/Text.html in rubyXL-2.4.3 vs rdoc/RubyXL/Text.html in rubyXL-2.4.4

- old
+ new

@@ -2,11 +2,11 @@ <html> <head> <meta charset="UTF-8"> -<title>class RubyXL::Text - rubyXL 2.4.3</title> +<title>class RubyXL::Text - rubyXL 2.4.4</title> <link href="../fonts.css" rel="stylesheet"> <link href="../rdoc.css" rel="stylesheet"> <script type="text/javascript"> @@ -133,10 +133,10 @@ <div class="method-source-code" id="before_write_xml-source"> <pre><span class="ruby-comment"># File lib/rubyXL/objects/text.rb, line 13</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span> - <span class="ruby-keyword">self</span>.<span class="ruby-identifier">xml_space</span> = (<span class="ruby-identifier">value</span> <span class="ruby-operator">&amp;&amp;</span> ((<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/^\s/</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\s$/</span>)) <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;\n&quot;</span>)) <span class="ruby-operator">?</span> <span class="ruby-string">&#39;preserve&#39;</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span> + <span class="ruby-keyword">self</span>.<span class="ruby-identifier">xml_space</span> = (<span class="ruby-identifier">value</span> <span class="ruby-operator">&amp;&amp;</span> ((<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/^\s/</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\s$/</span>)) <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;\n&quot;</span>)) <span class="ruby-operator">?</span> <span class="ruby-string">'preserve'</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">true</span> <span class="ruby-keyword">end</span></pre> </div> </div>