doc/atomic-rdoc/classes/Kernel.src/M000324.html in facets-0.7.1 vs doc/atomic-rdoc/classes/Kernel.src/M000324.html in facets-0.7.2
- old
+ new
@@ -3,16 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>require_facet (Kernel)</title>
+ <title>returning (Kernel)</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/kernel/require_facet.rb, line 9</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_facet</span>( <span class="ruby-identifier">fpath</span> )
- <span class="ruby-identifier">require</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>( <span class="ruby-identifier">fpath</span> ), <span class="ruby-constant">URI</span>.<span class="ruby-identifier">escape</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>( <span class="ruby-identifier">fpath</span> ), <span class="ruby-regexp re">/\W/</span> ) ) )
+ <pre><span class="ruby-comment cmt"># File lib/facet/kernel/returning.rb, line 16</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">returning</span>(<span class="ruby-identifier">value</span>)
+ <span class="ruby-keyword kw">yield</span>
+ <span class="ruby-identifier">value</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file