Sha256: f544d7c99a12571b4c1b3cc8b5339d0b8173f1885bd169adff6c32103ae1054a
Contents?: true
Size: 448 Bytes
Versions: 10
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders module Git # Initializes project skeleton with Git Safe support. class Safe < Abstract using Refinements::Struct def call return false unless settings.build_git builder.call(settings.merge(template_path: "%project_name%/.git/safe")).make_path true end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems