diff options
| author | Randy Morgan <[email protected]> | 2011-11-27 22:08:55 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2011-11-27 22:08:55 +0900 |
| commit | 058faf2581970fa18c314ad07f5658adeca32c69 (patch) | |
| tree | fadb7296aa249778690f3c70247c0d79e40b5274 /doc/Axlsx/Relationship.html | |
| parent | f050dd81a633c45e3c8a57dffcdb4db715183e3d (diff) | |
| download | caxlsx-058faf2581970fa18c314ad07f5658adeca32c69.tar.gz caxlsx-058faf2581970fa18c314ad07f5658adeca32c69.zip | |
update to README
Diffstat (limited to 'doc/Axlsx/Relationship.html')
| -rw-r--r-- | doc/Axlsx/Relationship.html | 103 |
1 files changed, 43 insertions, 60 deletions
diff --git a/doc/Axlsx/Relationship.html b/doc/Axlsx/Relationship.html index 6d0f4060..c99f45a4 100644 --- a/doc/Axlsx/Relationship.html +++ b/doc/Axlsx/Relationship.html @@ -97,15 +97,13 @@ <div class="note notetag"> <strong>Note:</strong> - <div class='inline'><p> -Packages automatcially manage relationships. -</p> + <div class='inline'> +<p>Packages automatcially manage relationships.</p> </div> </div> -<p> -A relationship defines a reference between package parts. -</p> + +<p>A relationship defines a reference between package parts.</p> </div> @@ -137,9 +135,8 @@ A relationship defines a reference between package parts. - <span class="summary_desc"><div class='inline'><p> -The location of the relationship target. -</p> + <span class="summary_desc"><div class='inline'> +<p>The location of the relationship target.</p> </div></span> </li> @@ -164,9 +161,8 @@ The location of the relationship target. - <span class="summary_desc"><div class='inline'><p> -The type of relationship. -</p> + <span class="summary_desc"><div class='inline'> +<p>The type of relationship.</p> </div></span> </li> @@ -203,9 +199,8 @@ The type of relationship. - <span class="summary_desc"><div class='inline'><p> -A new instance of Relationship. -</p> + <span class="summary_desc"><div class='inline'> +<p>A new instance of Relationship.</p> </div></span> </li> @@ -227,9 +222,8 @@ A new instance of Relationship. - <span class="summary_desc"><div class='inline'><p> -Serializes the relationship. -</p> + <span class="summary_desc"><div class='inline'> +<p>Serializes the relationship.</p> </div></span> </li> @@ -250,9 +244,8 @@ Serializes the relationship. </p><div class="docstring"> <div class="discussion"> - <p> -A new instance of Relationship -</p> + +<p>A new instance of Relationship</p> </div> @@ -274,11 +267,10 @@ A new instance of Relationship <td> <pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationship.rb', line 24</span> -<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='type identifier id'>type</span><span class='comma token'>,</span> <span class='target identifier id'>target</span><span class='rparen token'>)</span> - <span class='self self kw'>self</span><span class='dot token'>.</span><span class='Target constant id'>Target</span><span class='assign token'>=</span><span class='target identifier id'>target</span> - <span class='self self kw'>self</span><span class='dot token'>.</span><span class='Type constant id'>Type</span><span class='assign token'>=</span><span class='type identifier id'>type</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id type'>type</span><span class='comma'>,</span> <span class='id target'>target</span><span class='rparen'>)</span> + <span class='kw'>self</span><span class='period'>.</span><span class='const'>Target</span><span class='op'>=</span><span class='id target'>target</span> + <span class='kw'>self</span><span class='period'>.</span><span class='const'>Type</span><span class='op'>=</span><span class='id type'>type</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -301,9 +293,8 @@ A new instance of Relationship </p><div class="docstring"> <div class="discussion"> - <p> -The location of the relationship target -</p> + +<p>The location of the relationship target</p> </div> @@ -337,10 +328,9 @@ The location of the relationship target <td> <pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationship.rb', line 8</span> -<span class='def def kw'>def</span> <span class='Target constant id'>Target</span> - <span class='@Target ivar id'>@Target</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='const'>Target</span> + <span class='ivar'>@Target</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -361,15 +351,13 @@ The location of the relationship target <div class="note notetag"> <strong>Note:</strong> - <div class='inline'><p> -Supported types are defined as constants in Axlsx: -</p> + <div class='inline'> +<p>Supported types are defined as constants in Axlsx:</p> </div> </div> -<p> -The type of relationship -</p> + +<p>The type of relationship</p> </div> @@ -428,10 +416,9 @@ The type of relationship <td> <pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationship.rb', line 23</span> -<span class='def def kw'>def</span> <span class='Type constant id'>Type</span> - <span class='@Type ivar id'>@Type</span> -<span class='end end kw'>end</span> -</pre> +<span class='kw'>def</span> <span class='const'>Type</span> + <span class='ivar'>@Type</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -453,9 +440,8 @@ The type of relationship </p><div class="docstring"> <div class="discussion"> - <p> -Serializes the relationship -</p> + +<p>Serializes the relationship</p> </div> @@ -474,9 +460,8 @@ Serializes the relationship — - <div class='inline'><p> -The document builder instance this objects xml will be added to. -</p> + <div class='inline'> +<p>The document builder instance this objects xml will be added to.</p> </div> </li> @@ -491,9 +476,8 @@ The document builder instance this objects xml will be added to. — - <div class='inline'><p> -the reference id of the object. -</p> + <div class='inline'> +<p>the reference id of the object.</p> </div> </li> @@ -529,12 +513,11 @@ the reference id of the object. <td> <pre class="code"><span class="info file"># File 'lib/axlsx/rels/relationship.rb', line 38</span> -<span class='def def kw'>def</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='rId identifier id'>rId</span><span class='rparen token'>)</span> - <span class='h identifier id'>h</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span> - <span class='h identifier id'>h</span><span class='lbrack token'>[</span><span class='symbol val'>:Id</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='rId identifier id'>rId</span> - <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='Relationship constant id'>Relationship</span><span class='lparen token'>(</span><span class='h identifier id'>h</span><span class='rparen token'>)</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='id xml'>xml</span><span class='comma'>,</span> <span class='id rId'>rId</span><span class='rparen'>)</span> + <span class='id h'>h</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span> + <span class='id h'>h</span><span class='lbracket'>[</span><span class='symbol'>:Id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id rId'>rId</span> + <span class='id xml'>xml</span><span class='period'>.</span><span class='const'>Relationship</span><span class='lparen'>(</span><span class='id h'>h</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -545,9 +528,9 @@ the reference id of the object. </div> <div id="footer"> - Generated on Sun Nov 27 21:52:41 2011 by + Generated on Sun Nov 27 22:08: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> |
