doc/api/classes/RDoc/TopLevel.src/M000009.html in erbook-4.0.0 vs doc/api/classes/RDoc/TopLevel.src/M000009.html in erbook-5.0.0

- old
+ new

@@ -3,16 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>all_classes (RDoc::TopLevel)</title> + <title>all_methods (RDoc::TopLevel)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 8</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_classes</span> - <span class="ruby-ivar">@@all_classes</span>.<span class="ruby-identifier">values</span> + <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 19</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_methods</span> + <span class="ruby-identifier">all_classes_and_modules</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">method_list</span> }.<span class="ruby-identifier">flatten</span> <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file