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 Attribute Summary (collapse)
-
- (Object) from_path
inherited
from RDocMarkup
Returns the value of attribute from_path.
Instance Method Summary (collapse)
- - (Object) fix_typewriter(html)
-
- (RDocMarkdown) initialize(text)
constructor
A new instance of RDocMarkdown.
Constructor Details
- (RDocMarkdown) initialize(text)
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 Attribute Details
- (Object) from_path Originally defined in class RDocMarkup
Returns the value of attribute from_path
Instance Method Details
- (Object) fix_typewriter(html)
17 |
# File 'lib/yard/templates/helpers/markup/rdoc_markdown.rb', line 17 def fix_typewriter(html) html end |