rdoc/RubyXL/Text.html in rubyXL-3.2.1 vs rdoc/RubyXL/Text.html in rubyXL-3.2.2
- old
+ new
@@ -2,11 +2,11 @@
<html>
<head>
<meta charset="UTF-8">
-<title>class RubyXL::Text - rubyXL 3.2.1</title>
+<title>class RubyXL::Text - rubyXL 3.2.2</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 14</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-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">&&</span> ((<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\A\s/</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\s\Z/</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">"\n"</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">self</span>.<span class="ruby-identifier">xml_space</span> = (<span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">&&</span> ((<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\A\s/</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">value</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\s\Z/</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">"\n"</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>