Sha256: ef8665f95aed9c29e85449e5164fc4f45fe464c405dd0a3cbd198adb57d8aea3

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>print_command_list (Mongrel::Command::Registry)</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/mongrel/command.rb, line 123</span>
123:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_command_list</span>
124:         <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Available commands are:\n\n&quot;</span>
125:         
126:         <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">commands</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
127:           <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; - #{name[1 .. -1]}\n&quot;</span>
128:         <span class="ruby-keyword kw">end</span>
129:         
130:         <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;\nEach command takes -h as an option to get help.&quot;</span>
131:         
132:       <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mongrel-0.3.10.1 doc/rdoc/classes/Mongrel/Command/Registry.src/M000017.html
mongrel-0.3.12.3 doc/rdoc/classes/Mongrel/Command/Registry.src/M000040.html
mongrel-0.3.10 doc/rdoc/classes/Mongrel/Command/Registry.src/M000017.html
mongrel-0.3.12.1 doc/rdoc/classes/Mongrel/Command/Registry.src/M000040.html
mongrel-0.3.12.2 doc/rdoc/classes/Mongrel/Command/Registry.src/M000040.html
mongrel-0.3.12 doc/rdoc/classes/Mongrel/Command/Registry.src/M000040.html
mongrel-0.3.12.4 doc/rdoc/classes/Mongrel/Command/Registry.src/M000040.html