Sha256: d9b20461902912b854e5a9ffb3823a152fd1422fc7df91980308640a0e9a1de1
Contents?: true
Size: 1.51 KB
Versions: 11
Compression:
Stored size: 1.51 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>link (Rmobio::Rxml::BaseTransformer)</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 rxml/base_transformer.rb, line 247</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">link</span>(<span class="ruby-identifier">doc</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">txt</span>=<span class="ruby-value str">""</span>, <span class="ruby-identifier">options</span>={}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"\n<a href=\"#{url}\" #{options[:style]}"</span> <span class="ruby-identifier">doc</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">">"</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">txt</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'</a>'</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
11 entries across 11 versions & 1 rubygems