Sha256: 13eacefe1010910b52550b844fb4437cb89a7e2f506a250d409e0d76a74ed7cf
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 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 configuration unless configuration.build_setup builder.call(configuration.merge(template_path: "%project_name%/bin/setup.erb")) .render .permit 0o755 configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.10.0 | lib/rubysmith/builders/setup.rb |
rubysmith-6.9.0 | lib/rubysmith/builders/setup.rb |