Sha256: 73a8a804a824556e8716cd4383b9b39039d9e60ee8893baefc35fe57b68134ab
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 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>thru_maruku (String)</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/erbook/html.rb, line 70</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">thru_maruku</span> <span class="ruby-identifier">aInline</span> = <span class="ruby-keyword kw">false</span> <span class="ruby-identifier">html</span> = <span class="ruby-constant">Maruku</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>).<span class="ruby-identifier">to_html</span> <span class="ruby-identifier">html</span>.<span class="ruby-identifier">sub!</span> <span class="ruby-regexp re">%r{\A<p>(.*)</p>\Z}</span>, <span class="ruby-value str">'\1'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aInline</span> <span class="ruby-identifier">html</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erbook-4.0.0 | doc/api/classes/String.src/M000003.html |