Module: YARD::Templates::Helpers::HtmlHelper
- Defined in:
- lib/yard-slipstream.rb
Instance Method Summary collapse
Instance Method Details
#link_url(url, title = nil, params = {}) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/yard-slipstream.rb', line 12 def link_url(url, title = nil, params = {}) params = SymbolHash.new(false).update( :href => url, :title => h(title || url), :target => "_self" ).update(params) "<a #{tag_attrs(params)}>#{title}</a>" end |