Class: Murdoc::AnnotatedFile
- Inherits:
-
Struct
- Object
- Struct
- Murdoc::AnnotatedFile
- Defined in:
- lib/murdoc.rb
Overview
‘AnnotatedFile` is a struct we pass into our templates
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#formatted_paragraphs ⇒ Object
Returns the value of attribute formatted_paragraphs.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#paragraphs ⇒ Object
Returns the value of attribute paragraphs.
-
#source ⇒ Object
Returns the value of attribute source.
-
#source_type ⇒ Object
Returns the value of attribute source_type.
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename
16 17 18 |
# File 'lib/murdoc.rb', line 16 def filename @filename end |
#formatted_paragraphs ⇒ Object
Returns the value of attribute formatted_paragraphs
16 17 18 |
# File 'lib/murdoc.rb', line 16 def formatted_paragraphs @formatted_paragraphs end |
#metadata ⇒ Object
Returns the value of attribute metadata
16 17 18 |
# File 'lib/murdoc.rb', line 16 def @metadata end |
#paragraphs ⇒ Object
Returns the value of attribute paragraphs
16 17 18 |
# File 'lib/murdoc.rb', line 16 def paragraphs @paragraphs end |
#source ⇒ Object
Returns the value of attribute source
16 17 18 |
# File 'lib/murdoc.rb', line 16 def source @source end |
#source_type ⇒ Object
Returns the value of attribute source_type
16 17 18 |
# File 'lib/murdoc.rb', line 16 def source_type @source_type end |