Class: Hanamismith::Builders::Docker::File
- Inherits:
-
Rubysmith::Builders::Abstract
- Object
- Rubysmith::Builders::Abstract
- Hanamismith::Builders::Docker::File
- Defined in:
- lib/hanamismith/builders/docker/file.rb
Overview
Builds Dockerfile configuration.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 |
# File 'lib/hanamismith/builders/docker/file.rb', line 12 def call return false unless settings.build_docker builder.call(settings.with(template_path: "%project_name%/Dockerfile.erb")).render true end |