Sha256: 8c1d8087f472fc5e1b39d2b2f2e52dba504ce64f5e2f73c776d1408c4b8e7c11
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true require "pathname" require "refinements/struct" module Rubysmith module Builders # Initializes building of project by checking for existence first. class Init < Abstract using Refinements::Struct def call builder.call(configuration.merge(template_path: "%project_name%")).check configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.10.0 | lib/rubysmith/builders/init.rb |
rubysmith-6.9.0 | lib/rubysmith/builders/init.rb |