Class: Murdoc::AnnotatedFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/murdoc.rb

Overview

‘AnnotatedFile` is a struct we pass into our templates

Instance Attribute Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



16
17
18
# File 'lib/murdoc.rb', line 16

def filename
  @filename
end

#formatted_paragraphsObject

Returns the value of attribute formatted_paragraphs

Returns:

  • (Object)

    the current value of formatted_paragraphs



16
17
18
# File 'lib/murdoc.rb', line 16

def formatted_paragraphs
  @formatted_paragraphs
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



16
17
18
# File 'lib/murdoc.rb', line 16

def 
  @metadata
end

#paragraphsObject

Returns the value of attribute paragraphs

Returns:

  • (Object)

    the current value of paragraphs



16
17
18
# File 'lib/murdoc.rb', line 16

def paragraphs
  @paragraphs
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



16
17
18
# File 'lib/murdoc.rb', line 16

def source
  @source
end

#source_typeObject

Returns the value of attribute source_type

Returns:

  • (Object)

    the current value of source_type



16
17
18
# File 'lib/murdoc.rb', line 16

def source_type
  @source_type
end