Sha256: 2ba7a1f0d1540ef68f74dca05e7678902ac7b45b997a0022180cdb55e65a4afe
Contents?: true
Size: 500 Bytes
Versions: 7
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders module DevContainer # Builds container configuration. class Configuration < Abstract using Refinements::Struct def call return false unless settings.build_devcontainer path = "%project_name%/.devcontainer/devcontainer.json.erb" builder.call(settings.merge(template_path: path)).render true end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems