Sha256: 56002520c284e4d3bbd7da8be7e40b5ed65492afdb059cf9659bf2898c305c93

Contents?: true

Size: 1.5 KB

Versions: 6

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>derivatives (PluginFactory)</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/pluginfactory.rb, line 139</span>
139:         <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">derivatives</span>
140:                 <span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">klass</span><span class="ruby-operator">|</span>
141:                         <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">include?</span>( <span class="ruby-value str">&quot;@derivatives&quot;</span> )
142:                                 <span class="ruby-keyword kw">break</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">instance_variable_get</span>( <span class="ruby-identifier">:@derivatives</span> )
143:                         <span class="ruby-keyword kw">end</span>
144:                 }
145:         <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongrel-0.3.1 doc/rdoc/classes/PluginFactory.src/M000005.html
mongrel-0.3.2 doc/rdoc/classes/PluginFactory.src/M000005.html
mongrel-0.3.4 doc/rdoc/classes/PluginFactory.src/M000005.html
mongrel-0.3.3 doc/rdoc/classes/PluginFactory.src/M000005.html
mongrel-0.3.5 doc/rdoc/classes/PluginFactory.src/M000005.html
mongrel-0.3.6 doc/rdoc/classes/PluginFactory.src/M000005.html