Sha256: 109b8909b07d5c16d382e3fd7a68c2f3cf96717283a0c8353a3cda17feaeb632
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 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 configuration unless configuration.build_git builder.call(configuration.merge(template_path: "%project_name%/.git/safe")).make_path configuration end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.10.0 | lib/rubysmith/builders/git/safe.rb |
rubysmith-6.9.0 | lib/rubysmith/builders/git/safe.rb |