Sha256: 24cd6efa8e3d4ab7fd0859bc09303ffe3a329594e6707f451b302a0d9fe98e73

Contents?: true

Size: 555 Bytes

Versions: 21

Compression:

Stored size: 555 Bytes

Contents

module Steep
  class Project
    class Options
      PathOptions = _ = Struct.new(:core_root, :stdlib_root, :repo_paths, keyword_init: true) do
        # @implements PathOptions
        
        def customized_stdlib?
          stdlib_root != nil
        end

        def customized_core?
          core_root != nil
        end
      end

      attr_reader :libraries
      attr_accessor :paths
      attr_accessor :collection_lock

      def initialize
        @paths = PathOptions.new(repo_paths: [])
        @libraries = []
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
steep-1.4.0.dev.1 lib/steep/project/options.rb