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

- (Object) metadata

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



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

def 
  @metadata
end

- (Object) output

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



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

def output
  @output
end