Sha256: 246a12095de54c64f79358166fffcbb865f92dfc176578bcb5b7140aa853eb8c
Contents?: true
Size: 547 Bytes
Versions: 10
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" require "tocer" module Rubysmith module Builders module Documentation # Builds project skeleton version history. class Version < Abstract using Refinements::Struct def call return false unless settings.build_versions builder.call(settings.merge(template_path: "%project_name%/VERSIONS.#{kind}.erb")).render true end private def kind = settings.documentation_format end end end end
Version data entries
10 entries across 10 versions & 1 rubygems