Sha256: 6ca9827de2f1cf5bfb2f116ee1d75c197f652403f1c6e95c270cd4e01add4986
Contents?: true
Size: 617 Bytes
Versions: 15
Compression:
Stored size: 617 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders module Documentation # Builds project skeleton README documentation. class Readme < Rubysmith::Builders::Documentation::Readme using Refinements::Struct def call return false unless settings.build_readme super builder.call(settings.merge(template_path: "%project_name%/README.#{kind}.erb")) .replace("Rubysmith", "Hanamismith") .replace("rubysmith", "hanamismith") true end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems