Sha256: c5098982eb132e0e1845177e0e6131a854db3ee7fcb673cb813170715f96bdf5

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

module Hanamismith
  module Builders
    module Providers
      # Builds project skeleton for YJIT provider.
      class YJIT < Rubysmith::Builders::Abstract
        using Refinements::Struct

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