Sha256: 34c05d68433a607b1069f74c6f60b85fdf12ef2ce5bace6bdb9689aff214862c

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

module Hanamismith
  module Builders
    module Puma
      # Builds project skeleton Puma configuration.
      class Configuration < Rubysmith::Builders::Abstract
        using Refinements::Struct

        def call
          builder.call(configuration.merge(template_path: "%project_name%/config/puma.rb.erb"))
                 .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/puma/configuration.rb
hanamismith-0.37.0 lib/hanamismith/builders/puma/configuration.rb