Class: Rubysmith::Builders::Documentation::Citation

Inherits:
Abstract
  • Object
show all
Defined in:
lib/rubysmith/builders/documentation/citation.rb

Overview

Builds project skeleton citation documentation.

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from Rubysmith::Builders::Abstract

Instance Method Details

#callObject



12
13
14
15
16
17
# File 'lib/rubysmith/builders/documentation/citation.rb', line 12

def call
  return false unless settings.build_citation

  builder.call(settings.merge(template_path: "%project_name%/CITATION.cff.erb")).render
  true
end