Class: MarkdownExplorer::Renderer
- Inherits:
-
Object
- Object
- MarkdownExplorer::Renderer
- Defined in:
- lib/markdown_explorer/renderer.rb
Instance Attribute Summary collapse
-
#markup ⇒ Object
readonly
Returns the value of attribute markup.
Instance Method Summary collapse
-
#initialize(text) ⇒ Renderer
constructor
A new instance of Renderer.
Constructor Details
#initialize(text) ⇒ Renderer
Returns a new instance of Renderer.
6 7 8 9 |
# File 'lib/markdown_explorer/renderer.rb', line 6 def initialize(text) @text = text render end |
Instance Attribute Details
#markup ⇒ Object (readonly)
Returns the value of attribute markup.
4 5 6 |
# File 'lib/markdown_explorer/renderer.rb', line 4 def markup @markup end |