Class: Octodown::Renderer::Raw
- Inherits:
-
Object
- Object
- Octodown::Renderer::Raw
- Includes:
- Renderable
- Defined in:
- lib/octodown/renderer/raw.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(markdown, options) ⇒ Raw
constructor
A new instance of Raw.
- #present ⇒ Object
Methods included from Renderable
Constructor Details
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
10 11 12 |
# File 'lib/octodown/renderer/raw.rb', line 10 def content @content end |
Instance Method Details
#present ⇒ Object
16 17 18 |
# File 'lib/octodown/renderer/raw.rb', line 16 def present STDOUT.puts content end |