Sha256: e7af7af8d2a5f02e6c05c64b42d0402706c350ed98e09d4e2062cd5a8991e1e7
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders module RSpec # Builds project skeleton RSpec application database support. class Database < Rubysmith::Builders::Abstract using Refinements::Struct def call return false unless settings.build_rspec path = "%project_name%/spec/support/database.rb.erb" builder.call(settings.merge(template_path: path)).render true end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems