Sha256: 5b09e2563e2fdb4706e1c2e573aa98643d39d76eff1653544a865900515a9165
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 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>require_facet (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> ) ) ) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-0.7.1 | doc/atomic-rdoc/classes/Kernel.src/M000324.html |
facets-0.7.2 | doc/atomic-rdoc/classes/Kernel.src/M000327.html |