stdlib/rubygems/0/rubygems.rbs in rbs-1.3.3 vs stdlib/rubygems/0/rubygems.rbs in rbs-1.4.0
- old
+ new
@@ -683,10 +683,10 @@
# dependencies file or "-" to auto-discover in parent directories.
#
# NOTE: Enabling automatic discovery on multiuser systems can lead to execution
# of arbitrary code when used from directories outside your control.
#
- def self.use_gemdeps: (?String path) -> Array[Specification]?
+ def self.use_gemdeps: (?String path) -> void
# Use the `home` and `paths` values for Gem.dir and Gem.path. Used mainly by
# the unit tests to provide environment isolation.
#
def self.use_paths: (String home, *String paths) -> Hash[String, String]