Sha256: 636454d5b3a8c487cfa2c8989596ca5527ecfc065e57e0f3da672811ee814695
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders # Builds project skeleton for assets. class Asset < Rubysmith::Builders::Abstract using Refinements::Struct def call path = "%project_name%/config/assets.js.erb" builder.call(configuration.merge(template_path: path)).render configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanamismith-0.38.0 | lib/hanamismith/builders/asset.rb |
hanamismith-0.37.0 | lib/hanamismith/builders/asset.rb |