--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "name<~to_s>:"
    body: The text of the link.
  - !ruby/struct:SM::Flow::LI 
    label: "url<~to_s>:"
    body: The URL to link to. Defaults to an empty string.
  - !ruby/struct:SM::Flow::LI 
    label: "opts<Hash>:"
    body: Additional HTML options for the link.
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  link_to(&quot;The Merb home page&quot;, &quot;http://www.merbivore.com/&quot;)\n    # =&gt; &lt;a href=&quot;http://www.merbivore.com/&quot;&gt;The Merb home page&lt;/a&gt;\n\n  link_to(&quot;The Ruby home page&quot;, &quot;http://www.ruby-lang.org&quot;, {'class' =&gt; 'special', 'target' =&gt; 'blank'})\n    # =&gt; &lt;a href=&quot;http://www.ruby-lang.org&quot; class=&quot;special&quot; target=&quot;blank&quot;&gt;The Ruby home page&lt;/a&gt;\n\n  link_to p.title, &quot;/blog/show/#{p.id}&quot;\n    # =&gt; &lt;a href=&quot;/blog/show/13&quot;&gt;The Entry Title&lt;/a&gt;\n"
full_name: Merb::AssetsMixin#link_to
is_singleton: false
name: link_to
params: (name, url='', opts={})
visibility: public
