class Logchange::Template
Properties of the template used to customize changelogs.
Public Class Methods
load()
click to toggle source
# File lib/logchange/template.rb, line 4 def self.load template_path = File.join(Logchange.configuration.changelog_directory_path, 'template.yaml') return {} unless File.exist?(template_path) YAML.load(File.read(template_path)) end