mack_ruby_core_extensions 0.0.3 → 0.0.4
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/doc/classes/Array.html +74 -74
- data/doc/classes/Class.html +40 -27
- data/doc/classes/Float.html +6 -6
- data/doc/classes/Hash.html +18 -18
- data/doc/classes/Kernel.html +12 -12
- data/doc/classes/Mack/Utils/Inflector.html +56 -56
- data/doc/classes/Math.html +18 -18
- data/doc/classes/MethodNotImplemented.html +6 -6
- data/doc/classes/Module.html +12 -12
- data/doc/classes/NilClass.html +6 -6
- data/doc/classes/Object.html +42 -42
- data/doc/classes/String.html +402 -375
- data/doc/created.rid +1 -1
- data/doc/files/lib/extensions/class_rb.html +1 -1
- data/doc/files/lib/extensions/string_rb.html +1 -1
- data/doc/fr_class_index.html +0 -1
- data/doc/fr_file_index.html +0 -1
- data/doc/fr_method_index.html +65 -66
- data/lib/extensions/class.rb +8 -3
- data/lib/extensions/string.rb +5 -0
- data/test/extensions/class_test.rb +7 -15
- data/test/extensions/string_test.rb +5 -4
- data/test/test_helper.rb +15 -1
- metadata +1 -5
- data/doc/classes/Dir.html +0 -190
- data/doc/files/lib/extensions/dir_rb.html +0 -101
- data/lib/extensions/dir.rb +0 -25
- data/test/extensions/dir_test.rb +0 -15
    
        data/doc/classes/Kernel.html
    CHANGED
    
    | @@ -80,8 +80,8 @@ | |
| 80 80 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 81 81 |  | 
| 82 82 | 
             
                  <div class="name-list">
         | 
| 83 | 
            -
                  <a href="# | 
| 84 | 
            -
                  <a href="# | 
| 83 | 
            +
                  <a href="#M000062">pp_to_s</a>  
         | 
| 84 | 
            +
                  <a href="#M000063">retryable</a>  
         | 
| 85 85 | 
             
                  </div>
         | 
| 86 86 | 
             
                </div>
         | 
| 87 87 |  | 
| @@ -103,19 +103,19 @@ | |
| 103 103 | 
             
                <div id="methods">
         | 
| 104 104 | 
             
                  <h3 class="section-bar">Public Class methods</h3>
         | 
| 105 105 |  | 
| 106 | 
            -
                  <div id="method- | 
| 107 | 
            -
                    <a name=" | 
| 106 | 
            +
                  <div id="method-M000062" class="method-detail">
         | 
| 107 | 
            +
                    <a name="M000062"></a>
         | 
| 108 108 |  | 
| 109 109 | 
             
                    <div class="method-heading">
         | 
| 110 | 
            -
                      <a href="# | 
| 110 | 
            +
                      <a href="#M000062" class="method-signature">
         | 
| 111 111 | 
             
                      <span class="method-name">pp_to_s</span><span class="method-args">(object)</span>
         | 
| 112 112 | 
             
                      </a>
         | 
| 113 113 | 
             
                    </div>
         | 
| 114 114 |  | 
| 115 115 | 
             
                    <div class="method-description">
         | 
| 116 116 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 117 | 
            -
                        onclick="toggleCode(' | 
| 118 | 
            -
                      <div class="method-source-code" id=" | 
| 117 | 
            +
                        onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
         | 
| 118 | 
            +
                      <div class="method-source-code" id="M000062-source">
         | 
| 119 119 | 
             
            <pre>
         | 
| 120 120 | 
             
                <span class="ruby-comment cmt"># File lib/extensions/kernel.rb, line 6</span>
         | 
| 121 121 | 
             
             6:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">pp_to_s</span>(<span class="ruby-identifier">object</span>)
         | 
| @@ -130,19 +130,19 @@ | |
| 130 130 |  | 
| 131 131 | 
             
                  <h3 class="section-bar">Public Instance methods</h3>
         | 
| 132 132 |  | 
| 133 | 
            -
                  <div id="method- | 
| 134 | 
            -
                    <a name=" | 
| 133 | 
            +
                  <div id="method-M000063" class="method-detail">
         | 
| 134 | 
            +
                    <a name="M000063"></a>
         | 
| 135 135 |  | 
| 136 136 | 
             
                    <div class="method-heading">
         | 
| 137 | 
            -
                      <a href="# | 
| 137 | 
            +
                      <a href="#M000063" class="method-signature">
         | 
| 138 138 | 
             
                      <span class="method-name">retryable</span><span class="method-args">(options = {}, &block)</span>
         | 
| 139 139 | 
             
                      </a>
         | 
| 140 140 | 
             
                    </div>
         | 
| 141 141 |  | 
| 142 142 | 
             
                    <div class="method-description">
         | 
| 143 143 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 144 | 
            -
                        onclick="toggleCode(' | 
| 145 | 
            -
                      <div class="method-source-code" id=" | 
| 144 | 
            +
                        onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
         | 
| 145 | 
            +
                      <div class="method-source-code" id="M000063-source">
         | 
| 146 146 | 
             
            <pre>
         | 
| 147 147 | 
             
                <span class="ruby-comment cmt"># File lib/extensions/kernel.rb, line 12</span>
         | 
| 148 148 | 
             
            12:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retryable</span>(<span class="ruby-identifier">options</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
         | 
| @@ -83,17 +83,17 @@ | |
| 83 83 | 
             
                <div id="description">
         | 
| 84 84 | 
             
                  <p>
         | 
| 85 85 | 
             
            This class is used to deal with inflection strings. This means taken a
         | 
| 86 | 
            -
            string and make it <a href="Inflector.html# | 
| 87 | 
            -
            href="Inflector.html# | 
| 86 | 
            +
            string and make it <a href="Inflector.html#M000055">plural</a>, or <a
         | 
| 87 | 
            +
            href="Inflector.html#M000056">singular</a>, etc… Inflection rules can
         | 
| 88 88 | 
             
            be added very easy, and are checked from the bottom up. This means that the
         | 
| 89 89 | 
             
            last rule is the first rule to be matched. The exception to this, kind of,
         | 
| 90 | 
            -
            is ‘<a href="Inflector.html# | 
| 91 | 
            -
            ‘<a href="Inflector.html# | 
| 92 | 
            -
            ‘<a href="Inflector.html# | 
| 90 | 
            +
            is ‘<a href="Inflector.html#M000057">irregular</a>’ and
         | 
| 91 | 
            +
            ‘<a href="Inflector.html#M000058">uncountable</a>’ rules. The
         | 
| 92 | 
            +
            ‘<a href="Inflector.html#M000058">uncountable</a>’ rules are
         | 
| 93 93 | 
             
            always checked first, then the ‘<a
         | 
| 94 | 
            -
            href="Inflector.html# | 
| 95 | 
            -
            either the ‘<a href="Inflector.html# | 
| 96 | 
            -
            ‘<a href="Inflector.html# | 
| 94 | 
            +
            href="Inflector.html#M000057">irregular</a>’ rules, and finally
         | 
| 95 | 
            +
            either the ‘<a href="Inflector.html#M000056">singular</a>’ or
         | 
| 96 | 
            +
            ‘<a href="Inflector.html#M000055">plural</a>’ rules, depending
         | 
| 97 97 | 
             
            on what you‘re trying to do. Within each of these sets of rules, the
         | 
| 98 98 | 
             
            last rule in is the first rule matched.
         | 
| 99 99 | 
             
            </p>
         | 
| @@ -126,13 +126,13 @@ Example: | |
| 126 126 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 127 127 |  | 
| 128 128 | 
             
                  <div class="name-list">
         | 
| 129 | 
            -
                  <a href="# | 
| 130 | 
            -
                  <a href="# | 
| 131 | 
            -
                  <a href="# | 
| 132 | 
            -
                  <a href="# | 
| 133 | 
            -
                  <a href="# | 
| 134 | 
            -
                  <a href="# | 
| 135 | 
            -
                  <a href="# | 
| 129 | 
            +
                  <a href="#M000061">inflections</a>  
         | 
| 130 | 
            +
                  <a href="#M000057">irregular</a>  
         | 
| 131 | 
            +
                  <a href="#M000055">plural</a>  
         | 
| 132 | 
            +
                  <a href="#M000060">pluralize</a>  
         | 
| 133 | 
            +
                  <a href="#M000056">singular</a>  
         | 
| 134 | 
            +
                  <a href="#M000059">singularize</a>  
         | 
| 135 | 
            +
                  <a href="#M000058">uncountable</a>  
         | 
| 136 136 | 
             
                  </div>
         | 
| 137 137 | 
             
                </div>
         | 
| 138 138 |  | 
| @@ -161,11 +161,11 @@ Example: | |
| 161 161 | 
             
                <div id="methods">
         | 
| 162 162 | 
             
                  <h3 class="section-bar">Public Class methods</h3>
         | 
| 163 163 |  | 
| 164 | 
            -
                  <div id="method- | 
| 165 | 
            -
                    <a name=" | 
| 164 | 
            +
                  <div id="method-M000061" class="method-detail">
         | 
| 165 | 
            +
                    <a name="M000061"></a>
         | 
| 166 166 |  | 
| 167 167 | 
             
                    <div class="method-heading">
         | 
| 168 | 
            -
                      <a href="# | 
| 168 | 
            +
                      <a href="#M000061" class="method-signature">
         | 
| 169 169 | 
             
                      <span class="method-name">inflections</span><span class="method-args">() {|Mack::Utils::Inflector.instance| ...}</span>
         | 
| 170 170 | 
             
                      </a>
         | 
| 171 171 | 
             
                    </div>
         | 
| @@ -175,8 +175,8 @@ Example: | |
| 175 175 | 
             
            Yields up Mack::Utils::Inflector.instance
         | 
| 176 176 | 
             
            </p>
         | 
| 177 177 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 178 | 
            -
                        onclick="toggleCode(' | 
| 179 | 
            -
                      <div class="method-source-code" id=" | 
| 178 | 
            +
                        onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
         | 
| 179 | 
            +
                      <div class="method-source-code" id="M000061-source">
         | 
| 180 180 | 
             
            <pre>
         | 
| 181 181 | 
             
                 <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 121</span>
         | 
| 182 182 | 
             
            121:         <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inflections</span>
         | 
| @@ -189,18 +189,18 @@ Yields up Mack::Utils::Inflector.instance | |
| 189 189 |  | 
| 190 190 | 
             
                  <h3 class="section-bar">Public Instance methods</h3>
         | 
| 191 191 |  | 
| 192 | 
            -
                  <div id="method- | 
| 193 | 
            -
                    <a name=" | 
| 192 | 
            +
                  <div id="method-M000057" class="method-detail">
         | 
| 193 | 
            +
                    <a name="M000057"></a>
         | 
| 194 194 |  | 
| 195 195 | 
             
                    <div class="method-heading">
         | 
| 196 | 
            -
                      <a href="# | 
| 196 | 
            +
                      <a href="#M000057" class="method-signature">
         | 
| 197 197 | 
             
                      <span class="method-name">irregular</span><span class="method-args">(rule, replacement)</span>
         | 
| 198 198 | 
             
                      </a>
         | 
| 199 199 | 
             
                    </div>
         | 
| 200 200 |  | 
| 201 201 | 
             
                    <div class="method-description">
         | 
| 202 202 | 
             
                      <p>
         | 
| 203 | 
            -
            Adds a <a href="Inflector.html# | 
| 203 | 
            +
            Adds a <a href="Inflector.html#M000057">irregular</a> rule to the system.
         | 
| 204 204 | 
             
            </p>
         | 
| 205 205 | 
             
            <p>
         | 
| 206 206 | 
             
            Example:
         | 
| @@ -212,8 +212,8 @@ Example: | |
| 212 212 | 
             
              end
         | 
| 213 213 | 
             
            </pre>
         | 
| 214 214 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 215 | 
            -
                        onclick="toggleCode(' | 
| 216 | 
            -
                      <div class="method-source-code" id=" | 
| 215 | 
            +
                        onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
         | 
| 216 | 
            +
                      <div class="method-source-code" id="M000057-source">
         | 
| 217 217 | 
             
            <pre>
         | 
| 218 218 | 
             
                <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 66</span>
         | 
| 219 219 | 
             
            66:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">irregular</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
         | 
| @@ -228,18 +228,18 @@ Example: | |
| 228 228 | 
             
                    </div>
         | 
| 229 229 | 
             
                  </div>
         | 
| 230 230 |  | 
| 231 | 
            -
                  <div id="method- | 
| 232 | 
            -
                    <a name=" | 
| 231 | 
            +
                  <div id="method-M000055" class="method-detail">
         | 
| 232 | 
            +
                    <a name="M000055"></a>
         | 
| 233 233 |  | 
| 234 234 | 
             
                    <div class="method-heading">
         | 
| 235 | 
            -
                      <a href="# | 
| 235 | 
            +
                      <a href="#M000055" class="method-signature">
         | 
| 236 236 | 
             
                      <span class="method-name">plural</span><span class="method-args">(rule, replacement)</span>
         | 
| 237 237 | 
             
                      </a>
         | 
| 238 238 | 
             
                    </div>
         | 
| 239 239 |  | 
| 240 240 | 
             
                    <div class="method-description">
         | 
| 241 241 | 
             
                      <p>
         | 
| 242 | 
            -
            Adds a <a href="Inflector.html# | 
| 242 | 
            +
            Adds a <a href="Inflector.html#M000055">plural</a> rule to the system.
         | 
| 243 243 | 
             
            </p>
         | 
| 244 244 | 
             
            <p>
         | 
| 245 245 | 
             
            Example:
         | 
| @@ -252,8 +252,8 @@ Example: | |
| 252 252 | 
             
              end
         | 
| 253 253 | 
             
            </pre>
         | 
| 254 254 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 255 | 
            -
                        onclick="toggleCode(' | 
| 256 | 
            -
                      <div class="method-source-code" id=" | 
| 255 | 
            +
                        onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
         | 
| 256 | 
            +
                      <div class="method-source-code" id="M000055-source">
         | 
| 257 257 | 
             
            <pre>
         | 
| 258 258 | 
             
                <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 43</span>
         | 
| 259 259 | 
             
            43:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">plural</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
         | 
| @@ -264,18 +264,18 @@ Example: | |
| 264 264 | 
             
                    </div>
         | 
| 265 265 | 
             
                  </div>
         | 
| 266 266 |  | 
| 267 | 
            -
                  <div id="method- | 
| 268 | 
            -
                    <a name=" | 
| 267 | 
            +
                  <div id="method-M000060" class="method-detail">
         | 
| 268 | 
            +
                    <a name="M000060"></a>
         | 
| 269 269 |  | 
| 270 270 | 
             
                    <div class="method-heading">
         | 
| 271 | 
            -
                      <a href="# | 
| 271 | 
            +
                      <a href="#M000060" class="method-signature">
         | 
| 272 272 | 
             
                      <span class="method-name">pluralize</span><span class="method-args">(word)</span>
         | 
| 273 273 | 
             
                      </a>
         | 
| 274 274 | 
             
                    </div>
         | 
| 275 275 |  | 
| 276 276 | 
             
                    <div class="method-description">
         | 
| 277 277 | 
             
                      <p>
         | 
| 278 | 
            -
            Returns the <a href="Inflector.html# | 
| 278 | 
            +
            Returns the <a href="Inflector.html#M000056">singular</a> version of the
         | 
| 279 279 | 
             
            word, if possible.
         | 
| 280 280 | 
             
            </p>
         | 
| 281 281 | 
             
            <p>
         | 
| @@ -287,8 +287,8 @@ Examples: | |
| 287 287 | 
             
              Mack::Utils::Inflector.instance.pluralize("boat") # => "boats"
         | 
| 288 288 | 
             
            </pre>
         | 
| 289 289 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 290 | 
            -
                        onclick="toggleCode(' | 
| 291 | 
            -
                      <div class="method-source-code" id=" | 
| 290 | 
            +
                        onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
         | 
| 291 | 
            +
                      <div class="method-source-code" id="M000060-source">
         | 
| 292 292 | 
             
            <pre>
         | 
| 293 293 | 
             
                 <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 102</span>
         | 
| 294 294 | 
             
            102:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pluralize</span>(<span class="ruby-identifier">word</span>)
         | 
| @@ -299,18 +299,18 @@ Examples: | |
| 299 299 | 
             
                    </div>
         | 
| 300 300 | 
             
                  </div>
         | 
| 301 301 |  | 
| 302 | 
            -
                  <div id="method- | 
| 303 | 
            -
                    <a name=" | 
| 302 | 
            +
                  <div id="method-M000056" class="method-detail">
         | 
| 303 | 
            +
                    <a name="M000056"></a>
         | 
| 304 304 |  | 
| 305 305 | 
             
                    <div class="method-heading">
         | 
| 306 | 
            -
                      <a href="# | 
| 306 | 
            +
                      <a href="#M000056" class="method-signature">
         | 
| 307 307 | 
             
                      <span class="method-name">singular</span><span class="method-args">(rule, replacement)</span>
         | 
| 308 308 | 
             
                      </a>
         | 
| 309 309 | 
             
                    </div>
         | 
| 310 310 |  | 
| 311 311 | 
             
                    <div class="method-description">
         | 
| 312 312 | 
             
                      <p>
         | 
| 313 | 
            -
            Adds a <a href="Inflector.html# | 
| 313 | 
            +
            Adds a <a href="Inflector.html#M000056">singular</a> rule to the system.
         | 
| 314 314 | 
             
            </p>
         | 
| 315 315 | 
             
            <p>
         | 
| 316 316 | 
             
            Example:
         | 
| @@ -323,8 +323,8 @@ Example: | |
| 323 323 | 
             
              end
         | 
| 324 324 | 
             
            </pre>
         | 
| 325 325 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 326 | 
            -
                        onclick="toggleCode(' | 
| 327 | 
            -
                      <div class="method-source-code" id=" | 
| 326 | 
            +
                        onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
         | 
| 327 | 
            +
                      <div class="method-source-code" id="M000056-source">
         | 
| 328 328 | 
             
            <pre>
         | 
| 329 329 | 
             
                <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 55</span>
         | 
| 330 330 | 
             
            55:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singular</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
         | 
| @@ -335,18 +335,18 @@ Example: | |
| 335 335 | 
             
                    </div>
         | 
| 336 336 | 
             
                  </div>
         | 
| 337 337 |  | 
| 338 | 
            -
                  <div id="method- | 
| 339 | 
            -
                    <a name=" | 
| 338 | 
            +
                  <div id="method-M000059" class="method-detail">
         | 
| 339 | 
            +
                    <a name="M000059"></a>
         | 
| 340 340 |  | 
| 341 341 | 
             
                    <div class="method-heading">
         | 
| 342 | 
            -
                      <a href="# | 
| 342 | 
            +
                      <a href="#M000059" class="method-signature">
         | 
| 343 343 | 
             
                      <span class="method-name">singularize</span><span class="method-args">(word)</span>
         | 
| 344 344 | 
             
                      </a>
         | 
| 345 345 | 
             
                    </div>
         | 
| 346 346 |  | 
| 347 347 | 
             
                    <div class="method-description">
         | 
| 348 348 | 
             
                      <p>
         | 
| 349 | 
            -
            Returns the <a href="Inflector.html# | 
| 349 | 
            +
            Returns the <a href="Inflector.html#M000056">singular</a> version of the
         | 
| 350 350 | 
             
            word, if possible.
         | 
| 351 351 | 
             
            </p>
         | 
| 352 352 | 
             
            <p>
         | 
| @@ -358,8 +358,8 @@ Examples: | |
| 358 358 | 
             
              Mack::Utils::Inflector.instance.singularize("boats") # => "boat"
         | 
| 359 359 | 
             
            </pre>
         | 
| 360 360 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 361 | 
            -
                        onclick="toggleCode(' | 
| 362 | 
            -
                      <div class="method-source-code" id=" | 
| 361 | 
            +
                        onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
         | 
| 362 | 
            +
                      <div class="method-source-code" id="M000059-source">
         | 
| 363 363 | 
             
            <pre>
         | 
| 364 364 | 
             
                <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 92</span>
         | 
| 365 365 | 
             
            92:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singularize</span>(<span class="ruby-identifier">word</span>)
         | 
| @@ -370,18 +370,18 @@ Examples: | |
| 370 370 | 
             
                    </div>
         | 
| 371 371 | 
             
                  </div>
         | 
| 372 372 |  | 
| 373 | 
            -
                  <div id="method- | 
| 374 | 
            -
                    <a name=" | 
| 373 | 
            +
                  <div id="method-M000058" class="method-detail">
         | 
| 374 | 
            +
                    <a name="M000058"></a>
         | 
| 375 375 |  | 
| 376 376 | 
             
                    <div class="method-heading">
         | 
| 377 | 
            -
                      <a href="# | 
| 377 | 
            +
                      <a href="#M000058" class="method-signature">
         | 
| 378 378 | 
             
                      <span class="method-name">uncountable</span><span class="method-args">(*args)</span>
         | 
| 379 379 | 
             
                      </a>
         | 
| 380 380 | 
             
                    </div>
         | 
| 381 381 |  | 
| 382 382 | 
             
                    <div class="method-description">
         | 
| 383 383 | 
             
                      <p>
         | 
| 384 | 
            -
            Adds a <a href="Inflector.html# | 
| 384 | 
            +
            Adds a <a href="Inflector.html#M000058">uncountable</a> word, or words, to
         | 
| 385 385 | 
             
            the system.
         | 
| 386 386 | 
             
            </p>
         | 
| 387 387 | 
             
            <p>
         | 
| @@ -393,8 +393,8 @@ Example: | |
| 393 393 | 
             
              end
         | 
| 394 394 | 
             
            </pre>
         | 
| 395 395 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 396 | 
            -
                        onclick="toggleCode(' | 
| 397 | 
            -
                      <div class="method-source-code" id=" | 
| 396 | 
            +
                        onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
         | 
| 397 | 
            +
                      <div class="method-source-code" id="M000058-source">
         | 
| 398 398 | 
             
            <pre>
         | 
| 399 399 | 
             
                <span class="ruby-comment cmt"># File lib/utils/inflector.rb, line 80</span>
         | 
| 400 400 | 
             
            80:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uncountable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
         | 
    
        data/doc/classes/Math.html
    CHANGED
    
    | @@ -80,9 +80,9 @@ | |
| 80 80 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 81 81 |  | 
| 82 82 | 
             
                  <div class="name-list">
         | 
| 83 | 
            -
                  <a href="# | 
| 84 | 
            -
                  <a href="# | 
| 85 | 
            -
                  <a href="# | 
| 83 | 
            +
                  <a href="#M000064">log2</a>  
         | 
| 84 | 
            +
                  <a href="#M000066">max</a>  
         | 
| 85 | 
            +
                  <a href="#M000065">min</a>  
         | 
| 86 86 | 
             
                  </div>
         | 
| 87 87 | 
             
                </div>
         | 
| 88 88 |  | 
| @@ -104,19 +104,19 @@ | |
| 104 104 | 
             
                <div id="methods">
         | 
| 105 105 | 
             
                  <h3 class="section-bar">Public Class methods</h3>
         | 
| 106 106 |  | 
| 107 | 
            -
                  <div id="method- | 
| 108 | 
            -
                    <a name=" | 
| 107 | 
            +
                  <div id="method-M000064" class="method-detail">
         | 
| 108 | 
            +
                    <a name="M000064"></a>
         | 
| 109 109 |  | 
| 110 110 | 
             
                    <div class="method-heading">
         | 
| 111 | 
            -
                      <a href="# | 
| 111 | 
            +
                      <a href="#M000064" class="method-signature">
         | 
| 112 112 | 
             
                      <span class="method-name">log2</span><span class="method-args">(x)</span>
         | 
| 113 113 | 
             
                      </a>
         | 
| 114 114 | 
             
                    </div>
         | 
| 115 115 |  | 
| 116 116 | 
             
                    <div class="method-description">
         | 
| 117 117 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 118 | 
            -
                        onclick="toggleCode(' | 
| 119 | 
            -
                      <div class="method-source-code" id=" | 
| 118 | 
            +
                        onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
         | 
| 119 | 
            +
                      <div class="method-source-code" id="M000064-source">
         | 
| 120 120 | 
             
            <pre>
         | 
| 121 121 | 
             
               <span class="ruby-comment cmt"># File lib/extensions/math.rb, line 3</span>
         | 
| 122 122 | 
             
            3:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">log2</span>(<span class="ruby-identifier">x</span>)
         | 
| @@ -127,19 +127,19 @@ | |
| 127 127 | 
             
                    </div>
         | 
| 128 128 | 
             
                  </div>
         | 
| 129 129 |  | 
| 130 | 
            -
                  <div id="method- | 
| 131 | 
            -
                    <a name=" | 
| 130 | 
            +
                  <div id="method-M000066" class="method-detail">
         | 
| 131 | 
            +
                    <a name="M000066"></a>
         | 
| 132 132 |  | 
| 133 133 | 
             
                    <div class="method-heading">
         | 
| 134 | 
            -
                      <a href="# | 
| 134 | 
            +
                      <a href="#M000066" class="method-signature">
         | 
| 135 135 | 
             
                      <span class="method-name">max</span><span class="method-args">(a, b)</span>
         | 
| 136 136 | 
             
                      </a>
         | 
| 137 137 | 
             
                    </div>
         | 
| 138 138 |  | 
| 139 139 | 
             
                    <div class="method-description">
         | 
| 140 140 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 141 | 
            -
                        onclick="toggleCode(' | 
| 142 | 
            -
                      <div class="method-source-code" id=" | 
| 141 | 
            +
                        onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
         | 
| 142 | 
            +
                      <div class="method-source-code" id="M000066-source">
         | 
| 143 143 | 
             
            <pre>
         | 
| 144 144 | 
             
                <span class="ruby-comment cmt"># File lib/extensions/math.rb, line 11</span>
         | 
| 145 145 | 
             
            11:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">max</span>(<span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span>)
         | 
| @@ -150,19 +150,19 @@ | |
| 150 150 | 
             
                    </div>
         | 
| 151 151 | 
             
                  </div>
         | 
| 152 152 |  | 
| 153 | 
            -
                  <div id="method- | 
| 154 | 
            -
                    <a name=" | 
| 153 | 
            +
                  <div id="method-M000065" class="method-detail">
         | 
| 154 | 
            +
                    <a name="M000065"></a>
         | 
| 155 155 |  | 
| 156 156 | 
             
                    <div class="method-heading">
         | 
| 157 | 
            -
                      <a href="# | 
| 157 | 
            +
                      <a href="#M000065" class="method-signature">
         | 
| 158 158 | 
             
                      <span class="method-name">min</span><span class="method-args">(a, b)</span>
         | 
| 159 159 | 
             
                      </a>
         | 
| 160 160 | 
             
                    </div>
         | 
| 161 161 |  | 
| 162 162 | 
             
                    <div class="method-description">
         | 
| 163 163 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 164 | 
            -
                        onclick="toggleCode(' | 
| 165 | 
            -
                      <div class="method-source-code" id=" | 
| 164 | 
            +
                        onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
         | 
| 165 | 
            +
                      <div class="method-source-code" id="M000065-source">
         | 
| 166 166 | 
             
            <pre>
         | 
| 167 167 | 
             
               <span class="ruby-comment cmt"># File lib/extensions/math.rb, line 7</span>
         | 
| 168 168 | 
             
            7:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">min</span>(<span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span>)
         | 
| @@ -93,7 +93,7 @@ that needs to be. | |
| 93 93 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 94 94 |  | 
| 95 95 | 
             
                  <div class="name-list">
         | 
| 96 | 
            -
                  <a href="# | 
| 96 | 
            +
                  <a href="#M000018">new</a>  
         | 
| 97 97 | 
             
                  </div>
         | 
| 98 98 | 
             
                </div>
         | 
| 99 99 |  | 
| @@ -115,19 +115,19 @@ that needs to be. | |
| 115 115 | 
             
                <div id="methods">
         | 
| 116 116 | 
             
                  <h3 class="section-bar">Public Class methods</h3>
         | 
| 117 117 |  | 
| 118 | 
            -
                  <div id="method- | 
| 119 | 
            -
                    <a name=" | 
| 118 | 
            +
                  <div id="method-M000018" class="method-detail">
         | 
| 119 | 
            +
                    <a name="M000018"></a>
         | 
| 120 120 |  | 
| 121 121 | 
             
                    <div class="method-heading">
         | 
| 122 | 
            -
                      <a href="# | 
| 122 | 
            +
                      <a href="#M000018" class="method-signature">
         | 
| 123 123 | 
             
                      <span class="method-name">new</span><span class="method-args">(meth, msg = nil)</span>
         | 
| 124 124 | 
             
                      </a>
         | 
| 125 125 | 
             
                    </div>
         | 
| 126 126 |  | 
| 127 127 | 
             
                    <div class="method-description">
         | 
| 128 128 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 129 | 
            -
                        onclick="toggleCode(' | 
| 130 | 
            -
                      <div class="method-source-code" id=" | 
| 129 | 
            +
                        onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
         | 
| 130 | 
            +
                      <div class="method-source-code" id="M000018-source">
         | 
| 131 131 | 
             
            <pre>
         | 
| 132 132 | 
             
                <span class="ruby-comment cmt"># File lib/extensions/method_not_implemented.rb, line 6</span>
         | 
| 133 133 | 
             
             6:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-identifier">msg</span> = <span class="ruby-keyword kw">nil</span>)
         | 
    
        data/doc/classes/Module.html
    CHANGED
    
    | @@ -88,8 +88,8 @@ | |
| 88 88 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 89 89 |  | 
| 90 90 | 
             
                  <div class="name-list">
         | 
| 91 | 
            -
                  <a href="# | 
| 92 | 
            -
                  <a href="# | 
| 91 | 
            +
                  <a href="#M000016">convert_security_of_methods</a>  
         | 
| 92 | 
            +
                  <a href="#M000017">include_safely_into</a>  
         | 
| 93 93 | 
             
                  </div>
         | 
| 94 94 | 
             
                </div>
         | 
| 95 95 |  | 
| @@ -111,11 +111,11 @@ | |
| 111 111 | 
             
                <div id="methods">
         | 
| 112 112 | 
             
                  <h3 class="section-bar">Public Instance methods</h3>
         | 
| 113 113 |  | 
| 114 | 
            -
                  <div id="method- | 
| 115 | 
            -
                    <a name=" | 
| 114 | 
            +
                  <div id="method-M000016" class="method-detail">
         | 
| 115 | 
            +
                    <a name="M000016"></a>
         | 
| 116 116 |  | 
| 117 117 | 
             
                    <div class="method-heading">
         | 
| 118 | 
            -
                      <a href="# | 
| 118 | 
            +
                      <a href="#M000016" class="method-signature">
         | 
| 119 119 | 
             
                      <span class="method-name">convert_security_of_methods</span><span class="method-args">(old_level = :public, new_level = :protected)</span>
         | 
| 120 120 | 
             
                      </a>
         | 
| 121 121 | 
             
                    </div>
         | 
| @@ -126,8 +126,8 @@ Bulk converts the security level of methods in this <a | |
| 126 126 | 
             
            href="Module.html">Module</a> from one level to another.
         | 
| 127 127 | 
             
            </p>
         | 
| 128 128 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 129 | 
            -
                        onclick="toggleCode(' | 
| 130 | 
            -
                      <div class="method-source-code" id=" | 
| 129 | 
            +
                        onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
         | 
| 130 | 
            +
                      <div class="method-source-code" id="M000016-source">
         | 
| 131 131 | 
             
            <pre>
         | 
| 132 132 | 
             
               <span class="ruby-comment cmt"># File lib/extensions/module.rb, line 4</span>
         | 
| 133 133 | 
             
            4:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_security_of_methods</span>(<span class="ruby-identifier">old_level</span> = <span class="ruby-identifier">:public</span>, <span class="ruby-identifier">new_level</span> = <span class="ruby-identifier">:protected</span>)
         | 
| @@ -139,11 +139,11 @@ href="Module.html">Module</a> from one level to another. | |
| 139 139 | 
             
                    </div>
         | 
| 140 140 | 
             
                  </div>
         | 
| 141 141 |  | 
| 142 | 
            -
                  <div id="method- | 
| 143 | 
            -
                    <a name=" | 
| 142 | 
            +
                  <div id="method-M000017" class="method-detail">
         | 
| 143 | 
            +
                    <a name="M000017"></a>
         | 
| 144 144 |  | 
| 145 145 | 
             
                    <div class="method-heading">
         | 
| 146 | 
            -
                      <a href="# | 
| 146 | 
            +
                      <a href="#M000017" class="method-signature">
         | 
| 147 147 | 
             
                      <span class="method-name">include_safely_into</span><span class="method-args">(*args)</span>
         | 
| 148 148 | 
             
                      </a>
         | 
| 149 149 | 
             
                    </div>
         | 
| @@ -171,8 +171,8 @@ or: | |
| 171 171 | 
             
              MyCoolUtils.include_safely_into(FooController, SomeOtherClass)
         | 
| 172 172 | 
             
            </pre>
         | 
| 173 173 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 174 | 
            -
                        onclick="toggleCode(' | 
| 175 | 
            -
                      <div class="method-source-code" id=" | 
| 174 | 
            +
                        onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
         | 
| 175 | 
            +
                      <div class="method-source-code" id="M000017-source">
         | 
| 176 176 | 
             
            <pre>
         | 
| 177 177 | 
             
                <span class="ruby-comment cmt"># File lib/extensions/module.rb, line 20</span>
         | 
| 178 178 | 
             
            20:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include_safely_into</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
         | 
    
        data/doc/classes/NilClass.html
    CHANGED
    
    | @@ -88,7 +88,7 @@ | |
| 88 88 | 
             
                  <h3 class="section-bar">Methods</h3>
         | 
| 89 89 |  | 
| 90 90 | 
             
                  <div class="name-list">
         | 
| 91 | 
            -
                  <a href="# | 
| 91 | 
            +
                  <a href="#M000022">blank?</a>  
         | 
| 92 92 | 
             
                  </div>
         | 
| 93 93 | 
             
                </div>
         | 
| 94 94 |  | 
| @@ -110,11 +110,11 @@ | |
| 110 110 | 
             
                <div id="methods">
         | 
| 111 111 | 
             
                  <h3 class="section-bar">Public Instance methods</h3>
         | 
| 112 112 |  | 
| 113 | 
            -
                  <div id="method- | 
| 114 | 
            -
                    <a name=" | 
| 113 | 
            +
                  <div id="method-M000022" class="method-detail">
         | 
| 114 | 
            +
                    <a name="M000022"></a>
         | 
| 115 115 |  | 
| 116 116 | 
             
                    <div class="method-heading">
         | 
| 117 | 
            -
                      <a href="# | 
| 117 | 
            +
                      <a href="#M000022" class="method-signature">
         | 
| 118 118 | 
             
                      <span class="method-name">blank?</span><span class="method-args">()</span>
         | 
| 119 119 | 
             
                      </a>
         | 
| 120 120 | 
             
                    </div>
         | 
| @@ -124,8 +124,8 @@ | |
| 124 124 | 
             
            Will always allow true since nil‘s are well, nils.
         | 
| 125 125 | 
             
            </p>
         | 
| 126 126 | 
             
                      <p><a class="source-toggle" href="#"
         | 
| 127 | 
            -
                        onclick="toggleCode(' | 
| 128 | 
            -
                      <div class="method-source-code" id=" | 
| 127 | 
            +
                        onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
         | 
| 128 | 
            +
                      <div class="method-source-code" id="M000022-source">
         | 
| 129 129 | 
             
            <pre>
         | 
| 130 130 | 
             
               <span class="ruby-comment cmt"># File lib/extensions/nil.rb, line 4</span>
         | 
| 131 131 | 
             
            4:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
         |