doc/atomic-rdoc/classes/Module.src/M000141.html in facets-0.7.1 vs doc/atomic-rdoc/classes/Module.src/M000141.html in facets-0.7.2
- old
+ new
@@ -3,18 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>abstract (Module)</title>
+ <title>alias_module_function (Module)</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/facet/module/abstract.rb, line 15</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abstract</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sym</span> )
- <span class="ruby-identifier">sym</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span>
- <span class="ruby-identifier">define_method</span>( <span class="ruby-identifier">s</span> ) { <span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-node">"undefined abstraction ##{s}"</span> }
- }
+ <pre><span class="ruby-comment cmt"># File lib/facet/module/alias_module_function.rb, line 24</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_module_function</span>( <span class="ruby-identifier">new</span>, <span class="ruby-identifier">old</span> )
+ <span class="ruby-identifier">alias_method</span>( <span class="ruby-identifier">new</span>, <span class="ruby-identifier">old</span> )
+ <span class="ruby-identifier">module_function</span>( <span class="ruby-identifier">new</span> )
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file