rdoc/RubyXL/OOXMLContainerObject.html in rubyXL-3.3.15 vs rdoc/RubyXL/OOXMLContainerObject.html in rubyXL-3.3.16
- old
+ new
@@ -2,11 +2,11 @@
<html>
<head>
<meta charset="UTF-8">
-<title>class RubyXL::OOXMLContainerObject - rubyXL 3.3.15</title>
+<title>class RubyXL::OOXMLContainerObject - rubyXL 3.3.16</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
@@ -154,11 +154,11 @@
</div>
<div class="method-source-code" id="new-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 366</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 368</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">params</span> = {})
<span class="ruby-identifier">array_content</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:_</span>)
<span class="ruby-keyword">super</span>
<span class="ruby-identifier">array_content</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-identifier">v</span> } <span class="ruby-keyword">if</span> <span class="ruby-identifier">array_content</span>
<span class="ruby-keyword">end</span></pre>
@@ -197,11 +197,11 @@
<div class="method-source-code" id="define_count_attribute-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 398</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 400</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">define_count_attribute</span>
<span class="ruby-comment"># Count will be inherited from Array. so no need to define it explicitly.</span>
<span class="ruby-identifier">define_attribute</span>(<span class="ruby-value">:count</span>, <span class="ruby-value">:uint</span>, <span class="ruby-value">:required</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">true</span>, <span class="ruby-value">:computed</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">true</span>)
<span class="ruby-keyword">end</span></pre>
</div>
@@ -239,11 +239,11 @@
<div class="method-source-code" id="before_write_xml-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 387</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 389</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span>
<span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span></pre>
</div>
@@ -277,11 +277,11 @@
</div>
<div class="method-source-code" id="inspect-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 391</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 393</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inspect</span>
<span class="ruby-identifier">vars</span> = [ <span class="ruby-keyword">super</span> ]
<span class="ruby-identifier">vars</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">vars</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{v}=#{instance_variable_get(v).inspect}"</span> }
<span class="ruby-node">"<#{self.class}: #{super} #{vars.join(", ")}>"</span>
<span class="ruby-keyword">end</span></pre>
@@ -325,11 +325,11 @@
</div>
<div class="method-source-code" id="get_node_object-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 372</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 374</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_node_object</span>(<span class="ruby-identifier">child_node_params</span>)
<span class="ruby-keyword">if</span> <span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:is_array</span>] <span class="ruby-keyword">then</span> <span class="ruby-keyword">self</span>
<span class="ruby-keyword">else</span> <span class="ruby-keyword">super</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
@@ -360,11 +360,11 @@
<div class="method-source-code" id="init_child_nodes-source">
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 379</span>
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 381</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">init_child_nodes</span>(<span class="ruby-identifier">params</span>)
<span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">each_value</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
<span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">v</span>[<span class="ruby-value">:is_array</span>] <span class="ruby-comment"># Only one collection node allowed per OOXMLContainerObject, and it is contained in itself.</span>
<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-node">"@#{v[:accessor]}"</span>, <span class="ruby-identifier">params</span>[<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]])
}
@@ -385,9 +385,9 @@
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="http://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>