Sha256: db8c9512b905818fcccbc887258a0d01df0b5f93bcd21512c64d22ba597033b0

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true
module SewingKit
  class Configuration
    attr_accessor :build_options, :dev_server_sewing_kit_bin, :manifest_name,
      :manifest_path

    def initialize
      @build_options = nil
      @manifest_name = 'sewing-kit-manifest.json'
      @manifest_path = nil
      @dev_server_sewing_kit_bin = 'node_modules/.bin/sewing-kit'
    end
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sewing_kit-0.93.0 lib/sewing_kit/configuration.rb