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