Sha256: c4b896193806756e2bba8b0cf0a0b0f8f1a67026bae8ec26ec04fd9075357692
Contents?: true
Size: 644 Bytes
Versions: 2
Compression:
Stored size: 644 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 configuration unless configuration.build_readme super builder.call(configuration.merge(template_path: "%project_name%/README.#{kind}.erb")) .replace("Rubysmith", "Hanamismith") .replace("rubysmith", "hanamismith") configuration end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanamismith-0.38.0 | lib/hanamismith/builders/documentation/readme.rb |
hanamismith-0.37.0 | lib/hanamismith/builders/documentation/readme.rb |