Class: VimwikiMarkdown::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/vimwiki_markdown/template.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Template

Returns a new instance of Template.



7
8
9
10
11
12
# File 'lib/vimwiki_markdown/template.rb', line 7

def initialize(options)
  @options = options
  get_template_contents

  validate_template
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/vimwiki_markdown/template.rb', line 14

def to_s
  fixtags(template)
end