Class: Metadown::Data
- Inherits:
-
Struct
- Object
- Struct
- Metadown::Data
- Defined in:
- lib/metadown.rb
Overview
This struct is what gets returned from a call to #render.
It has two attributes, one for the metadata, and one for the rendered output.
Instance Attribute Summary collapse
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Attribute Details
#metadata ⇒ Object
Returns the value of attribute metadata
12 13 14 |
# File 'lib/metadown.rb', line 12 def @metadata end |
#output ⇒ Object
Returns the value of attribute output
12 13 14 |
# File 'lib/metadown.rb', line 12 def output @output end |