class YARD::Templates::Helpers::Markup::RDocMarkup::RDocMarkupToHtml
Attributes
from_path[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/yard/templates/helpers/markup/rdoc_markup.rb, line 16 def initialize options = RDoc::Options.new options.pipe = true super(options) end
Public Instance Methods
accept_paragraph(*args)
click to toggle source
Calls superclass method
# File lib/yard/templates/helpers/markup/rdoc_markup.rb, line 100 def accept_paragraph(*args) par = args.last text = par.respond_to?(:txt) ? par.txt : par.text @hyperlink = text =~ /\{(https?:|mailto:|link:|www\.)/ ? true : false super end
handle_special_HYPERLINK(special)
click to toggle source
Disable auto-link of URLs
Calls superclass method
# File lib/yard/templates/helpers/markup/rdoc_markup.rb, line 96 def handle_special_HYPERLINK(special) # rubocop:disable Style/MethodName @hyperlink ? special.text : super end