hashutils 0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +93 -0
 - data/Rakefile +51 -0
 - data/doc/classes/Array.html +131 -0
 - data/doc/classes/Hash.html +137 -0
 - data/doc/classes/HashUtils.html +131 -0
 - data/doc/classes/HashUtils.src/M000018.html +20 -0
 - data/doc/classes/HashUtilsNamedAttributes.html +131 -0
 - data/doc/classes/HashUtilsNamedAttributes.src/M000019.html +29 -0
 - data/doc/classes/HashUtilsXML.html +164 -0
 - data/doc/classes/HashUtilsXML.src/M000015.html +56 -0
 - data/doc/classes/HashUtilsXML.src/M000016.html +44 -0
 - data/doc/classes/HashUtilsXML.src/M000017.html +29 -0
 - data/doc/classes/TC_HashUtilsFromXML.html +170 -0
 - data/doc/classes/TC_HashUtilsFromXML.src/M000012.html +25 -0
 - data/doc/classes/TC_HashUtilsFromXML.src/M000013.html +37 -0
 - data/doc/classes/TC_HashUtilsFromXML.src/M000014.html +18 -0
 - data/doc/classes/TC_HashUtilsHashAsAttributes.html +170 -0
 - data/doc/classes/TC_HashUtilsHashAsAttributes.src/M000008.html +18 -0
 - data/doc/classes/TC_HashUtilsHashAsAttributes.src/M000009.html +19 -0
 - data/doc/classes/TC_HashUtilsHashAsAttributes.src/M000010.html +20 -0
 - data/doc/classes/TC_HashUtilsToXML.html +237 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000001.html +34 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000002.html +22 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000003.html +24 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000004.html +30 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000005.html +22 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000006.html +26 -0
 - data/doc/classes/TC_HashUtilsToXML.src/M000007.html +31 -0
 - data/doc/classes/TS_HashUtils.html +137 -0
 - data/doc/classes/TS_HashUtils.src/M000011.html +22 -0
 - data/doc/created.rid +1 -0
 - data/doc/files/lib/hashutils_rb.html +108 -0
 - data/doc/files/rakefile_rb.html +101 -0
 - data/doc/files/test/tc_hash_utils_from_xml_rb.html +109 -0
 - data/doc/files/test/tc_hash_utils_hash_as_attributes_rb.html +109 -0
 - data/doc/files/test/tc_hash_utils_to_xml_rb.html +110 -0
 - data/doc/files/test/ts_hash_utils_rb.html +112 -0
 - data/doc/fr_class_index.html +35 -0
 - data/doc/fr_file_index.html +32 -0
 - data/doc/fr_method_index.html +45 -0
 - data/doc/index.html +24 -0
 - data/doc/rdoc-style.css +208 -0
 - data/lib/hashutils.rb +178 -0
 - data/test/tc_hash_utils_from_xml.rb +47 -0
 - data/test/tc_hash_utils_hash_as_attributes.rb +24 -0
 - data/test/tc_hash_utils_to_xml.rb +103 -0
 - data/test/ts_hash_utils.rb +18 -0
 - metadata +101 -0
 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>from_xml! (HashUtilsXML)</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 11 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 12 
     | 
    
         
            +
            <body class="standalone-code">
         
     | 
| 
      
 13 
     | 
    
         
            +
              <pre><span class="ruby-comment cmt"># File lib/hashutils.rb, line 94</span>
         
     | 
| 
      
 14 
     | 
    
         
            +
              <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">from_xml!</span>(<span class="ruby-identifier">element</span>)
         
     | 
| 
      
 15 
     | 
    
         
            +
                <span class="ruby-identifier">out</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">element</span>)
         
     | 
| 
      
 16 
     | 
    
         
            +
                <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">out</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>
         
     | 
| 
      
 17 
     | 
    
         
            +
                  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clear</span>
         
     | 
| 
      
 18 
     | 
    
         
            +
                  <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">is_a?</span><span class="ruby-constant">Hash</span>
         
     | 
| 
      
 19 
     | 
    
         
            +
                    <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">out</span>) 
         
     | 
| 
      
 20 
     | 
    
         
            +
                    <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">xml_attributes</span> = <span class="ruby-identifier">out</span>.<span class="ruby-identifier">xml_attributes</span>
         
     | 
| 
      
 21 
     | 
    
         
            +
                  <span class="ruby-keyword kw">end</span>
         
     | 
| 
      
 22 
     | 
    
         
            +
                  <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">is_a?</span><span class="ruby-constant">Array</span>
         
     | 
| 
      
 23 
     | 
    
         
            +
                    <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">concat</span>(<span class="ruby-identifier">out</span>)
         
     | 
| 
      
 24 
     | 
    
         
            +
                    <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">xml_name</span> = <span class="ruby-identifier">out</span>.<span class="ruby-identifier">xml_name</span>
         
     | 
| 
      
 25 
     | 
    
         
            +
                  <span class="ruby-keyword kw">end</span>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <span class="ruby-keyword kw">end</span>
         
     | 
| 
      
 27 
     | 
    
         
            +
              <span class="ruby-keyword kw">end</span></pre>
         
     | 
| 
      
 28 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 29 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,170 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>Class: TC_HashUtilsFromXML</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <meta http-equiv="Content-Script-Type" content="text/javascript" />
         
     | 
| 
      
 11 
     | 
    
         
            +
              <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 12 
     | 
    
         
            +
              <script type="text/javascript">
         
     | 
| 
      
 13 
     | 
    
         
            +
              // <![CDATA[
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              function popupCode( url ) {
         
     | 
| 
      
 16 
     | 
    
         
            +
                window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
         
     | 
| 
      
 17 
     | 
    
         
            +
              }
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
              function toggleCode( id ) {
         
     | 
| 
      
 20 
     | 
    
         
            +
                if ( document.getElementById )
         
     | 
| 
      
 21 
     | 
    
         
            +
                  elem = document.getElementById( id );
         
     | 
| 
      
 22 
     | 
    
         
            +
                else if ( document.all )
         
     | 
| 
      
 23 
     | 
    
         
            +
                  elem = eval( "document.all." + id );
         
     | 
| 
      
 24 
     | 
    
         
            +
                else
         
     | 
| 
      
 25 
     | 
    
         
            +
                  return false;
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                elemStyle = elem.style;
         
     | 
| 
      
 28 
     | 
    
         
            +
                
         
     | 
| 
      
 29 
     | 
    
         
            +
                if ( elemStyle.display != "block" ) {
         
     | 
| 
      
 30 
     | 
    
         
            +
                  elemStyle.display = "block"
         
     | 
| 
      
 31 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 32 
     | 
    
         
            +
                  elemStyle.display = "none"
         
     | 
| 
      
 33 
     | 
    
         
            +
                }
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
                return true;
         
     | 
| 
      
 36 
     | 
    
         
            +
              }
         
     | 
| 
      
 37 
     | 
    
         
            +
              
         
     | 
| 
      
 38 
     | 
    
         
            +
              // Make codeblocks hidden by default
         
     | 
| 
      
 39 
     | 
    
         
            +
              document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
         
     | 
| 
      
 40 
     | 
    
         
            +
              
         
     | 
| 
      
 41 
     | 
    
         
            +
              // ]]>
         
     | 
| 
      
 42 
     | 
    
         
            +
              </script>
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 45 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                <div id="classHeader">
         
     | 
| 
      
 50 
     | 
    
         
            +
                    <table class="header-table">
         
     | 
| 
      
 51 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 52 
     | 
    
         
            +
                      <td><strong>Class</strong></td>
         
     | 
| 
      
 53 
     | 
    
         
            +
                      <td class="class-name-in-header">TC_HashUtilsFromXML</td>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 55 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 56 
     | 
    
         
            +
                        <td><strong>In:</strong></td>
         
     | 
| 
      
 57 
     | 
    
         
            +
                        <td>
         
     | 
| 
      
 58 
     | 
    
         
            +
                            <a href="../files/test/tc_hash_utils_from_xml_rb.html">
         
     | 
| 
      
 59 
     | 
    
         
            +
                            test/tc_hash_utils_from_xml.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
                            </a>
         
     | 
| 
      
 61 
     | 
    
         
            +
                    <br />
         
     | 
| 
      
 62 
     | 
    
         
            +
                        </td>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 66 
     | 
    
         
            +
                        <td><strong>Parent:</strong></td>
         
     | 
| 
      
 67 
     | 
    
         
            +
                        <td>
         
     | 
| 
      
 68 
     | 
    
         
            +
                            Test::Unit::TestCase
         
     | 
| 
      
 69 
     | 
    
         
            +
                        </td>
         
     | 
| 
      
 70 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 71 
     | 
    
         
            +
                    </table>
         
     | 
| 
      
 72 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 73 
     | 
    
         
            +
              <!-- banner header -->
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
              <div id="bodyContent">
         
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
              <div id="contextContent">
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                <div id="method-list">
         
     | 
| 
      
 86 
     | 
    
         
            +
                  <h3 class="section-bar">Methods</h3>
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                  <div class="name-list">
         
     | 
| 
      
 89 
     | 
    
         
            +
                  <a href="#M000012">setup</a>  
         
     | 
| 
      
 90 
     | 
    
         
            +
                  <a href="#M000013">test_should_have_all_content</a>  
         
     | 
| 
      
 91 
     | 
    
         
            +
                  <a href="#M000014">test_should_keep_immutable</a>  
         
     | 
| 
      
 92 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 93 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                <!-- if includes -->
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                <div id="section">
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
                  
         
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
                <!-- if method_list -->
         
     | 
| 
      
 110 
     | 
    
         
            +
                <div id="methods">
         
     | 
| 
      
 111 
     | 
    
         
            +
                  <h3 class="section-bar">Public Instance methods</h3>
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                  <div id="method-M000012" class="method-detail">
         
     | 
| 
      
 114 
     | 
    
         
            +
                    <a name="M000012"></a>
         
     | 
| 
      
 115 
     | 
    
         
            +
             
     | 
| 
      
 116 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 117 
     | 
    
         
            +
                      <a href="TC_HashUtilsFromXML.src/M000012.html" target="Code" class="method-signature"
         
     | 
| 
      
 118 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsFromXML.src/M000012.html');return false;">
         
     | 
| 
      
 119 
     | 
    
         
            +
                      <span class="method-name">setup</span><span class="method-args">()</span>
         
     | 
| 
      
 120 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 121 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 122 
     | 
    
         
            +
                  
         
     | 
| 
      
 123 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 124 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
                  <div id="method-M000013" class="method-detail">
         
     | 
| 
      
 128 
     | 
    
         
            +
                    <a name="M000013"></a>
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 131 
     | 
    
         
            +
                      <a href="TC_HashUtilsFromXML.src/M000013.html" target="Code" class="method-signature"
         
     | 
| 
      
 132 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsFromXML.src/M000013.html');return false;">
         
     | 
| 
      
 133 
     | 
    
         
            +
                      <span class="method-name">test_should_have_all_content</span><span class="method-args">()</span>
         
     | 
| 
      
 134 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 135 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 136 
     | 
    
         
            +
                  
         
     | 
| 
      
 137 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 138 
     | 
    
         
            +
                      <p>
         
     | 
| 
      
 139 
     | 
    
         
            +
            def teardown end
         
     | 
| 
      
 140 
     | 
    
         
            +
            </p>
         
     | 
| 
      
 141 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 142 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
                  <div id="method-M000014" class="method-detail">
         
     | 
| 
      
 145 
     | 
    
         
            +
                    <a name="M000014"></a>
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 148 
     | 
    
         
            +
                      <a href="TC_HashUtilsFromXML.src/M000014.html" target="Code" class="method-signature"
         
     | 
| 
      
 149 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsFromXML.src/M000014.html');return false;">
         
     | 
| 
      
 150 
     | 
    
         
            +
                      <span class="method-name">test_should_keep_immutable</span><span class="method-args">()</span>
         
     | 
| 
      
 151 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 152 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 153 
     | 
    
         
            +
                  
         
     | 
| 
      
 154 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 155 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 156 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 157 
     | 
    
         
            +
             
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 160 
     | 
    
         
            +
             
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
            <div id="validator-badges">
         
     | 
| 
      
 166 
     | 
    
         
            +
              <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
         
     | 
| 
      
 167 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 168 
     | 
    
         
            +
             
     | 
| 
      
 169 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 170 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>setup (TC_HashUtilsFromXML)</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 11 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 12 
     | 
    
         
            +
            <body class="standalone-code">
         
     | 
| 
      
 13 
     | 
    
         
            +
              <pre><span class="ruby-comment cmt"># File test/tc_hash_utils_from_xml.rb, line 6</span>
         
     | 
| 
      
 14 
     | 
    
         
            +
              <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
         
     | 
| 
      
 15 
     | 
    
         
            +
                <span class="ruby-identifier">xml</span> = <span class="ruby-value str">"<doc attr1='Attribute 1'><elem1>Element 1</elem1><non_named_array><item>1</item><item>2</item></non_named_array><inner attr1='Inner attribute 1'><elem2>Inner element 2</elem2><inner_named_array><book>Book 1</book><book>Book 2</book></inner_named_array></inner></doc>"</span>
         
     | 
| 
      
 16 
     | 
    
         
            +
              
         
     | 
| 
      
 17 
     | 
    
         
            +
                <span class="ruby-ivar">@immut</span> = {}
         
     | 
| 
      
 18 
     | 
    
         
            +
                <span class="ruby-ivar">@mut</span> = {}
         
     | 
| 
      
 19 
     | 
    
         
            +
                
         
     | 
| 
      
 20 
     | 
    
         
            +
                <span class="ruby-ivar">@hash</span> = <span class="ruby-ivar">@immut</span>.<span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">xml</span>)
         
     | 
| 
      
 21 
     | 
    
         
            +
                <span class="ruby-ivar">@mut</span>.<span class="ruby-identifier">from_xml!</span>(<span class="ruby-identifier">xml</span>)
         
     | 
| 
      
 22 
     | 
    
         
            +
                
         
     | 
| 
      
 23 
     | 
    
         
            +
              <span class="ruby-keyword kw">end</span></pre>
         
     | 
| 
      
 24 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 25 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,37 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>test_should_have_all_content (TC_HashUtilsFromXML)</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 11 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 12 
     | 
    
         
            +
            <body class="standalone-code">
         
     | 
| 
      
 13 
     | 
    
         
            +
              <pre><span class="ruby-comment cmt"># File test/tc_hash_utils_from_xml.rb, line 20</span>
         
     | 
| 
      
 14 
     | 
    
         
            +
              <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_should_have_all_content</span>
         
     | 
| 
      
 15 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">"Attribute 1"</span>, <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:attr1</span>])
         
     | 
| 
      
 16 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>([<span class="ruby-identifier">:attr1</span>], <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">xml_attributes</span>)
         
     | 
| 
      
 17 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">"Element 1"</span>, <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:elem1</span>])
         
     | 
| 
      
 18 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>([<span class="ruby-value str">"1"</span>, <span class="ruby-value str">"2"</span>], <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:non_named_array</span>])
         
     | 
| 
      
 19 
     | 
    
         
            +
                <span class="ruby-identifier">assert_nil</span>(<span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:non_named_array</span>].<span class="ruby-identifier">xml_name</span>)
         
     | 
| 
      
 20 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>({<span class="ruby-identifier">:elem2</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"Inner element 2"</span>, 
         
     | 
| 
      
 21 
     | 
    
         
            +
                              <span class="ruby-identifier">:attr1</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"Inner attribute 1"</span>,
         
     | 
| 
      
 22 
     | 
    
         
            +
                              <span class="ruby-identifier">:inner_named_array</span> =<span class="ruby-operator">></span> [<span class="ruby-value str">"Book 1"</span>, <span class="ruby-value str">"Book 2"</span>]}, <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:inner</span>])
         
     | 
| 
      
 23 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-identifier">:book</span>, <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">:inner</span>][<span class="ruby-identifier">:inner_named_array</span>].<span class="ruby-identifier">xml_name</span>)
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">"Attribute 1"</span>, <span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:attr1</span>])
         
     | 
| 
      
 26 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>([<span class="ruby-identifier">:attr1</span>], <span class="ruby-ivar">@mut</span>.<span class="ruby-identifier">xml_attributes</span>)
         
     | 
| 
      
 27 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">"Element 1"</span>, <span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:elem1</span>])
         
     | 
| 
      
 28 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>([<span class="ruby-value str">"1"</span>, <span class="ruby-value str">"2"</span>], <span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:non_named_array</span>])
         
     | 
| 
      
 29 
     | 
    
         
            +
                <span class="ruby-identifier">assert_nil</span>(<span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:non_named_array</span>].<span class="ruby-identifier">xml_name</span>)
         
     | 
| 
      
 30 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>({<span class="ruby-identifier">:elem2</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"Inner element 2"</span>, 
         
     | 
| 
      
 31 
     | 
    
         
            +
                              <span class="ruby-identifier">:attr1</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"Inner attribute 1"</span>,
         
     | 
| 
      
 32 
     | 
    
         
            +
                              <span class="ruby-identifier">:inner_named_array</span> =<span class="ruby-operator">></span> [<span class="ruby-value str">"Book 1"</span>, <span class="ruby-value str">"Book 2"</span>]}, <span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:inner</span>])
         
     | 
| 
      
 33 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-identifier">:book</span>, <span class="ruby-ivar">@mut</span>[<span class="ruby-identifier">:inner</span>][<span class="ruby-identifier">:inner_named_array</span>].<span class="ruby-identifier">xml_name</span>)
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
              <span class="ruby-keyword kw">end</span></pre>
         
     | 
| 
      
 36 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 37 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>test_should_keep_immutable (TC_HashUtilsFromXML)</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 11 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 12 
     | 
    
         
            +
            <body class="standalone-code">
         
     | 
| 
      
 13 
     | 
    
         
            +
              <pre><span class="ruby-comment cmt"># File test/tc_hash_utils_from_xml.rb, line 43</span>
         
     | 
| 
      
 14 
     | 
    
         
            +
              <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_should_keep_immutable</span>
         
     | 
| 
      
 15 
     | 
    
         
            +
                <span class="ruby-identifier">assert_equal</span>({}, <span class="ruby-ivar">@immut</span>)
         
     | 
| 
      
 16 
     | 
    
         
            +
              <span class="ruby-keyword kw">end</span></pre>
         
     | 
| 
      
 17 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 18 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,170 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <?xml version="1.0" encoding="iso-8859-1"?>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html 
         
     | 
| 
      
 3 
     | 
    
         
            +
                 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 4 
     | 
    
         
            +
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         
     | 
| 
      
 7 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
              <title>Class: TC_HashUtilsHashAsAttributes</title>
         
     | 
| 
      
 9 
     | 
    
         
            +
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         
     | 
| 
      
 10 
     | 
    
         
            +
              <meta http-equiv="Content-Script-Type" content="text/javascript" />
         
     | 
| 
      
 11 
     | 
    
         
            +
              <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
         
     | 
| 
      
 12 
     | 
    
         
            +
              <script type="text/javascript">
         
     | 
| 
      
 13 
     | 
    
         
            +
              // <![CDATA[
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              function popupCode( url ) {
         
     | 
| 
      
 16 
     | 
    
         
            +
                window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
         
     | 
| 
      
 17 
     | 
    
         
            +
              }
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
              function toggleCode( id ) {
         
     | 
| 
      
 20 
     | 
    
         
            +
                if ( document.getElementById )
         
     | 
| 
      
 21 
     | 
    
         
            +
                  elem = document.getElementById( id );
         
     | 
| 
      
 22 
     | 
    
         
            +
                else if ( document.all )
         
     | 
| 
      
 23 
     | 
    
         
            +
                  elem = eval( "document.all." + id );
         
     | 
| 
      
 24 
     | 
    
         
            +
                else
         
     | 
| 
      
 25 
     | 
    
         
            +
                  return false;
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                elemStyle = elem.style;
         
     | 
| 
      
 28 
     | 
    
         
            +
                
         
     | 
| 
      
 29 
     | 
    
         
            +
                if ( elemStyle.display != "block" ) {
         
     | 
| 
      
 30 
     | 
    
         
            +
                  elemStyle.display = "block"
         
     | 
| 
      
 31 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 32 
     | 
    
         
            +
                  elemStyle.display = "none"
         
     | 
| 
      
 33 
     | 
    
         
            +
                }
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
                return true;
         
     | 
| 
      
 36 
     | 
    
         
            +
              }
         
     | 
| 
      
 37 
     | 
    
         
            +
              
         
     | 
| 
      
 38 
     | 
    
         
            +
              // Make codeblocks hidden by default
         
     | 
| 
      
 39 
     | 
    
         
            +
              document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
         
     | 
| 
      
 40 
     | 
    
         
            +
              
         
     | 
| 
      
 41 
     | 
    
         
            +
              // ]]>
         
     | 
| 
      
 42 
     | 
    
         
            +
              </script>
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 45 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                <div id="classHeader">
         
     | 
| 
      
 50 
     | 
    
         
            +
                    <table class="header-table">
         
     | 
| 
      
 51 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 52 
     | 
    
         
            +
                      <td><strong>Class</strong></td>
         
     | 
| 
      
 53 
     | 
    
         
            +
                      <td class="class-name-in-header">TC_HashUtilsHashAsAttributes</td>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 55 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 56 
     | 
    
         
            +
                        <td><strong>In:</strong></td>
         
     | 
| 
      
 57 
     | 
    
         
            +
                        <td>
         
     | 
| 
      
 58 
     | 
    
         
            +
                            <a href="../files/test/tc_hash_utils_hash_as_attributes_rb.html">
         
     | 
| 
      
 59 
     | 
    
         
            +
                            test/tc_hash_utils_hash_as_attributes.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
                            </a>
         
     | 
| 
      
 61 
     | 
    
         
            +
                    <br />
         
     | 
| 
      
 62 
     | 
    
         
            +
                        </td>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
                    <tr class="top-aligned-row">
         
     | 
| 
      
 66 
     | 
    
         
            +
                        <td><strong>Parent:</strong></td>
         
     | 
| 
      
 67 
     | 
    
         
            +
                        <td>
         
     | 
| 
      
 68 
     | 
    
         
            +
                            Test::Unit::TestCase
         
     | 
| 
      
 69 
     | 
    
         
            +
                        </td>
         
     | 
| 
      
 70 
     | 
    
         
            +
                    </tr>
         
     | 
| 
      
 71 
     | 
    
         
            +
                    </table>
         
     | 
| 
      
 72 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 73 
     | 
    
         
            +
              <!-- banner header -->
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
              <div id="bodyContent">
         
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
              <div id="contextContent">
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                <div id="method-list">
         
     | 
| 
      
 86 
     | 
    
         
            +
                  <h3 class="section-bar">Methods</h3>
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                  <div class="name-list">
         
     | 
| 
      
 89 
     | 
    
         
            +
                  <a href="#M000008">setup</a>  
         
     | 
| 
      
 90 
     | 
    
         
            +
                  <a href="#M000010">test_should_create_new_attributes</a>  
         
     | 
| 
      
 91 
     | 
    
         
            +
                  <a href="#M000009">test_should_read_as_attribute</a>  
         
     | 
| 
      
 92 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 93 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                <!-- if includes -->
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                <div id="section">
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
                  
         
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
                <!-- if method_list -->
         
     | 
| 
      
 110 
     | 
    
         
            +
                <div id="methods">
         
     | 
| 
      
 111 
     | 
    
         
            +
                  <h3 class="section-bar">Public Instance methods</h3>
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                  <div id="method-M000008" class="method-detail">
         
     | 
| 
      
 114 
     | 
    
         
            +
                    <a name="M000008"></a>
         
     | 
| 
      
 115 
     | 
    
         
            +
             
     | 
| 
      
 116 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 117 
     | 
    
         
            +
                      <a href="TC_HashUtilsHashAsAttributes.src/M000008.html" target="Code" class="method-signature"
         
     | 
| 
      
 118 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsHashAsAttributes.src/M000008.html');return false;">
         
     | 
| 
      
 119 
     | 
    
         
            +
                      <span class="method-name">setup</span><span class="method-args">()</span>
         
     | 
| 
      
 120 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 121 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 122 
     | 
    
         
            +
                  
         
     | 
| 
      
 123 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 124 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
                  <div id="method-M000010" class="method-detail">
         
     | 
| 
      
 128 
     | 
    
         
            +
                    <a name="M000010"></a>
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 131 
     | 
    
         
            +
                      <a href="TC_HashUtilsHashAsAttributes.src/M000010.html" target="Code" class="method-signature"
         
     | 
| 
      
 132 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsHashAsAttributes.src/M000010.html');return false;">
         
     | 
| 
      
 133 
     | 
    
         
            +
                      <span class="method-name">test_should_create_new_attributes</span><span class="method-args">()</span>
         
     | 
| 
      
 134 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 135 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 136 
     | 
    
         
            +
                  
         
     | 
| 
      
 137 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 138 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 139 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
                  <div id="method-M000009" class="method-detail">
         
     | 
| 
      
 142 
     | 
    
         
            +
                    <a name="M000009"></a>
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
                    <div class="method-heading">
         
     | 
| 
      
 145 
     | 
    
         
            +
                      <a href="TC_HashUtilsHashAsAttributes.src/M000009.html" target="Code" class="method-signature"
         
     | 
| 
      
 146 
     | 
    
         
            +
                        onclick="popupCode('TC_HashUtilsHashAsAttributes.src/M000009.html');return false;">
         
     | 
| 
      
 147 
     | 
    
         
            +
                      <span class="method-name">test_should_read_as_attribute</span><span class="method-args">()</span>
         
     | 
| 
      
 148 
     | 
    
         
            +
                      </a>
         
     | 
| 
      
 149 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 150 
     | 
    
         
            +
                  
         
     | 
| 
      
 151 
     | 
    
         
            +
                    <div class="method-description">
         
     | 
| 
      
 152 
     | 
    
         
            +
                      <p>
         
     | 
| 
      
 153 
     | 
    
         
            +
            def teardown end
         
     | 
| 
      
 154 
     | 
    
         
            +
            </p>
         
     | 
| 
      
 155 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 156 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 157 
     | 
    
         
            +
             
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 160 
     | 
    
         
            +
             
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
            <div id="validator-badges">
         
     | 
| 
      
 166 
     | 
    
         
            +
              <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
         
     | 
| 
      
 167 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 168 
     | 
    
         
            +
             
     | 
| 
      
 169 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 170 
     | 
    
         
            +
            </html>
         
     |