Sha256: ea02973b3e8924429e89192949e42b40116276cc7075ed1b06c9e06a045c22c2

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

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

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