Sha256: c13b988dcb1b253ae5f3035df4a946b4971e3c8137605139b6f41abec7a0c034
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders # Builds project skeleton binstub. class Binstub < Rubysmith::Builders::Abstract using Refinements::Struct def call builder.call(configuration.merge(template_path: "%project_name%/bin/hanami.erb")) .render .permit 0o755 configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanamismith-0.38.0 | lib/hanamismith/builders/binstub.rb |
hanamismith-0.37.0 | lib/hanamismith/builders/binstub.rb |