Class: Metadown::Data

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



12
13
14
# File 'lib/metadown.rb', line 12

def 
  @metadata
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



12
13
14
# File 'lib/metadown.rb', line 12

def output
  @output
end