Sha256: 477bdaa6c3c0f6c0bb490a00ae887b5fa24c9a623f8fec236899b6b91d4992b6

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

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

      def call
        path = "%project_name%/slices/home/assets/css/app.css.erb"
        builder.call(configuration.merge(template_path: path)).render
        configuration
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hanamismith-0.38.0 lib/hanamismith/builders/stylesheet.rb
hanamismith-0.37.0 lib/hanamismith/builders/stylesheet.rb