Sha256: c79886cf8668c73e7109c0088d36701cbade36e1155cf119f2f2a001d4d656f7

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

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

        def customized_core?
          core_root != nil
        end
      end

      attr_reader :libraries
      attr_accessor :paths

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
steep-0.46.0 lib/steep/project/options.rb