sig/environment_loader.rbs in rbs-1.5.1 vs sig/environment_loader.rbs in rbs-1.6.0
- old
+ new
@@ -76,9 +76,12 @@
# 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
+ # 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.
#
def has_library?: (library: String, version: String?) -> bool
# Add all declarations to environment.