Class: Rubysmith::Builders::DevContainer::Configuration
- Defined in:
- lib/rubysmith/builders/dev_container/configuration.rb
Overview
Builds container configuration.
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Rubysmith::Builders::Abstract
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/rubysmith/builders/dev_container/configuration.rb', line 12 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 |