Sha256: 2e652b665eeb0ff3066a4973b0f8caa2378474bbb328229eb53b896fd7a9df60
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 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>start (W32Support)</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/win32.rb, line 46</span> 46: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">start</span>(<span class="ruby-identifier">service_name</span>) 47: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">do_and_wait</span>(<span class="ruby-identifier">service_name</span>, <span class="ruby-identifier">:start</span>, <span class="ruby-regexp re">/running/</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">status</span><span class="ruby-operator">|</span> 48: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span> 49: <span class="ruby-keyword kw">end</span> 50: <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/W32Support.src/M000007.html |