class RDoc::Markup::LinkLabelToHtml
Formatter dedicated to rendering tidy link labels without mutating the calling formatter’s state.
Public Class Methods
Source
# File lib/rdoc/markup/to_html.rb, line 602 def initialize(options, from_path = nil) super(options) self.from_path = from_path if from_path end
Calls superclass method
RDoc::Markup::ToHtml::new
Source
# File lib/rdoc/markup/to_html.rb, line 598 def self.render(label, options, from_path) new(options, from_path).to_html(label) end