Sha256: 8d873cf29b9a58ee88b316a8c54e34240588daf23197c5b22c534f76f47769fe
Contents?: true
Size: 443 Bytes
Versions: 10
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders # Builds project skeleton setup script. class Setup < Abstract using Refinements::Struct def call return false unless settings.build_setup builder.call(settings.merge(template_path: "%project_name%/bin/setup.erb")) .render .permit 0o755 true end end end end
Version data entries
10 entries across 10 versions & 1 rubygems