Class: YARD::Templates::Helpers::Markup::RDocMarkdown
- Inherits:
-
RDocMarkup
- Object
- RDocMarkup
- YARD::Templates::Helpers::Markup::RDocMarkdown
- Defined in:
- lib/yard/templates/helpers/markup/rdoc_markdown.rb
Instance Method Summary collapse
- #fix_typewriter(html) ⇒ Object
-
#initialize(text) ⇒ RDocMarkdown
constructor
A new instance of RDocMarkdown.
Constructor Details
#initialize(text) ⇒ RDocMarkdown
Returns a new instance of RDocMarkdown.
13 14 15 |
# File 'lib/yard/templates/helpers/markup/rdoc_markdown.rb', line 13 def initialize(text) super RDoc::Markdown.new.parse(text) end |
Instance Method Details
#fix_typewriter(html) ⇒ Object
17 |
# File 'lib/yard/templates/helpers/markup/rdoc_markdown.rb', line 17 def fix_typewriter(html) html end |