Sha256: b146a5b041908261f955b4f9bd3a216b46d92ab0f9dea24dff21288ccf84f863

Contents?: true

Size: 1.14 KB

Versions: 45

Compression:

Stored size: 1.14 KB

Contents

module RBS
  module Collection
    # This class represent the configuration file.
    class Config
      class CollectionNotAvailable < StandardError
        def initialize: () -> void
      end

      PATH: Pathname

      type gem_entry = {
        'name' => String,
        'version' => String?,
        'ignore' => boolish,
        'source' => Sources::source_entry?
      }

      attr_reader config_path: Pathname

      attr_reader data: untyped

      @sources: Array[Sources::_Source]

      def self.find_config_path: () -> Pathname?

      def self.generate_lockfile: (config_path: Pathname, definition: Bundler::Definition, ?with_lockfile: boolish) -> [Config, Lockfile]

      def self.from_path: (Pathname path) -> Config

      def self.to_lockfile_path: (Pathname config_path) -> Pathname

      # config_path is necessary to resolve relative repo_path
      def initialize: (untyped data, config_path: Pathname) -> void

      def gem: (String gem_name) -> gem_entry?

      def repo_path: () -> Pathname

      def repo_path_data: () -> Pathname

      def sources: () -> Array[Sources::t]

      def gems: () -> Array[gem_entry]
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
rbs-relaxed-3.9.0.1 sig/collection/config.rbs
rbs-3.8.1 sig/collection/config.rbs
rbs-3.8.0 sig/collection/config.rbs
rbs-3.8.0.pre.1 sig/collection/config.rbs
rbs-3.7.0.pre.1 sig/collection/config.rbs
rbs-3.7.0.dev.1 sig/collection/config.rbs
rbs-3.6.1 sig/collection/config.rbs
rbs-3.6.0 sig/collection/config.rbs
rbs-3.6.0.pre.3 sig/collection/config.rbs
rbs-3.6.0.pre.2 sig/collection/config.rbs
rbs-3.6.0.pre.1 sig/collection/config.rbs
rbs-3.6.0.dev.1 sig/collection/config.rbs
rbs-3.5.3 sig/collection/config.rbs
rbs-3.5.2 sig/collection/config.rbs
rbs-3.5.1 sig/collection/config.rbs
rbs-3.5.1.pre.1 sig/collection/config.rbs
rbs-3.5.0 sig/collection/config.rbs
rbs-3.5.0.pre.2 sig/collection/config.rbs
rbs-3.5.0.pre.1 sig/collection/config.rbs
rbs-3.4.4 sig/collection/config.rbs