summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/Relationships.html
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
committerRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
commit11303a4d6664d9a7ff7bc408035d2ab70378a375 (patch)
tree51c675ae3ab8cd6c1afd7087145261b1eb2ec54c /doc/Axlsx/Relationships.html
parent044afe5a35db42cefce4f18a0fecc3da90cab1b5 (diff)
downloadcaxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.tar.gz
caxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.zip
adding in support for ruby 1.9.3
release version 1.0.9
Diffstat (limited to 'doc/Axlsx/Relationships.html')
-rw-r--r--doc/Axlsx/Relationships.html69
1 files changed, 28 insertions, 41 deletions
diff --git a/doc/Axlsx/Relationships.html b/doc/Axlsx/Relationships.html
index f82180e0..b68eff83 100644
--- a/doc/Axlsx/Relationships.html
+++ b/doc/Axlsx/Relationships.html
@@ -6,7 +6,7 @@
<title>
Class: Axlsx::Relationships
- &mdash; Documentation by YARD 0.7.3
+ &mdash; AXLSX
</title>
@@ -99,16 +99,14 @@
<div class="note notetag">
<strong>Note:</strong>
- <div class='inline'><p>
-The package automatically manages releationships.
-</p>
+ <div class='inline'>
+<p>The package automatically manages releationships.</p>
</div>
</div>
-<p>
-Relationships are a collection of Relations that define how package parts
-are related.
-</p>
+
+<p>Relationships are a collection of Relations that define how package parts
+are related.</p>
</div>
@@ -159,9 +157,8 @@ are related.
- <span class="summary_desc"><div class='inline'><p>
-Creates a new Relationships collection based on SimpleTypedList.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Creates a new Relationships collection based on SimpleTypedList.</p>
</div></span>
</li>
@@ -183,9 +180,8 @@ Creates a new Relationships collection based on SimpleTypedList.
- <span class="summary_desc"><div class='inline'><p>
-Serializes the relationships document.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Serializes the relationships document.</p>
</div></span>
</li>
@@ -199,12 +195,7 @@ Serializes the relationships document.
-
-
-
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
-<div id="constructor_details" class="method_details_list">
+ <div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
@@ -216,9 +207,8 @@ Serializes the relationships document.
</p><div class="docstring">
<div class="discussion">
- <p>
-Creates a new Relationships collection based on SimpleTypedList
-</p>
+
+<p>Creates a new Relationships collection based on SimpleTypedList</p>
</div>
@@ -239,10 +229,9 @@ Creates a new Relationships collection based on SimpleTypedList
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationships.rb', line 9</span>
-<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span>
- <span class='super super kw'>super</span> <span class='Relationship constant id'>Relationship</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id initialize'>initialize</span>
+ <span class='kw'>super</span> <span class='const'>Relationship</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -274,9 +263,8 @@ Creates a new Relationships collection based on SimpleTypedList
</p><div class="docstring">
<div class="discussion">
- <p>
-Serializes the relationships document.
-</p>
+
+<p>Serializes the relationships document.</p>
</div>
@@ -315,15 +303,14 @@ Serializes the relationships document.
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationships.rb', line 15</span>
-<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
- <span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='Relationships constant id'>Relationships</span><span class='lparen token'>(</span><span class='symbol val'>:xmlns</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='RELS_R constant id'>RELS_R</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <span class='each_with_index identifier id'>each_with_index</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='rel identifier id'>rel</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span> <span class='rel identifier id'>rel</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='comma token'>,</span> <span class='dstring node'>&quot;rId#{index+1}&quot;</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='builder identifier id'>builder</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='rparen'>)</span>
+ <span class='id builder'>builder</span> <span class='op'>=</span> <span class='const'>Nokogiri</span><span class='op'>::</span><span class='const'>XML</span><span class='op'>::</span><span class='const'>Builder</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:encoding</span> <span class='op'>=&gt;</span> <span class='const'>ENCODING</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml'>xml</span><span class='op'>|</span>
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='const'>Relationships</span><span class='lparen'>(</span><span class='symbol'>:xmlns</span> <span class='op'>=&gt;</span> <span class='const'>Axlsx</span><span class='op'>::</span><span class='const'>RELS_R</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
+ <span class='id each_with_index'>each_with_index</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id rel'>rel</span><span class='comma'>,</span> <span class='id index'>index</span><span class='op'>|</span> <span class='id rel'>rel</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rId</span><span class='embexpr_beg'>#{</span><span class='id index'>index</span><span class='op'>+</span><span class='int'>1</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
+ <span class='rbrace'>}</span>
+ <span class='kw'>end</span>
+ <span class='id builder'>builder</span><span class='period'>.</span><span class='id to_xml'>to_xml</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -334,9 +321,9 @@ Serializes the relationships document.
</div>
<div id="footer">
- Generated on Wed Nov 23 22:20:57 2011 by
+ Generated on Sat Nov 26 13:16:38 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.7.3 (ruby-1.8.7).
+ 0.7.3 (ruby-1.9.3).
</div>
</body>