Class: Apadmi::Grout::Templates
- Inherits:
-
Struct
- Object
- Struct
- Apadmi::Grout::Templates
- Defined in:
- lib/apadmi/grout/models/release_notes_templates.rb
Overview
Instance Attribute Summary collapse
-
#document_template ⇒ Object
Returns the value of attribute document_template.
-
#list_template ⇒ Object
Returns the value of attribute list_template.
Class Method Summary collapse
-
.default ⇒ Object
Returns the default hardcoded templates.
Instance Attribute Details
#document_template ⇒ Object
Returns the value of attribute document_template
70 71 72 |
# File 'lib/apadmi/grout/models/release_notes_templates.rb', line 70 def document_template @document_template end |
#list_template ⇒ Object
Returns the value of attribute list_template
70 71 72 |
# File 'lib/apadmi/grout/models/release_notes_templates.rb', line 70 def list_template @list_template end |
Class Method Details
.default ⇒ Object
Returns the default hardcoded templates
75 76 77 78 |
# File 'lib/apadmi/grout/models/release_notes_templates.rb', line 75 def self.default defaults = DefaultTemplates.new Templates.new(defaults.default_document_template, defaults.default_list_template) end |