Sha256: 45b923c27fefa6983555c77febea89e9aaad053de4dd440e502ab017a227dfeb

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 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>show (Configure::Views)</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_config/app.rb, line 75</span>
75:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span>
76:     <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
77:       <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Status&quot;</span> }
78:       <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
79:         <span class="ruby-identifier">p</span> { <span class="ruby-node">&quot;Currently running with PID #{_pid}.&quot;</span> }
80:       <span class="ruby-keyword kw">else</span>
81:         <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Mongrel is not running.&quot;</span> }
82:       <span class="ruby-keyword kw">end</span>
83:     <span class="ruby-keyword kw">end</span>
84:   <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongrel_config-0.3 doc/rdoc/classes/Configure/Views.src/M000012.html