sig/environment_loader.rbs in rbs-2.6.0 vs sig/environment_loader.rbs in rbs-2.7.0.pre.1

- old
+ new

@@ -38,11 +38,11 @@ DEFAULT_CORE_ROOT: Pathname attr_reader core_root: Pathname? attr_reader repository: Repository - attr_reader libs: Array[Library] + attr_reader libs: Set[Library] attr_reader dirs: Array[Pathname] # The source where the RBS comes from. # # `:core` means it is part of core library. @@ -74,10 +74,12 @@ # Specifying `nil` to `version` will load any version available. # It first tries to load RBS files from gem with specified version. # If RBS files cannot be found in the gem, it tries to load RBSs from repository. # def add: (path: Pathname) -> void - | (library: String, version: String?) -> void + | (library: String, version: String?, ?resolve_dependencies: boolish) -> void + + def resolve_dependencies: (library: String, version: String?) -> void # Add repository path and libraries via rbs_collection.lock.yaml. def add_collection: (Collection::Config collection_config) -> void # This is helper function to test if RBS for a library is available or not.