sig/environment_loader.rbs in rbs-3.0.0.dev.1 vs sig/environment_loader.rbs in rbs-3.0.0.dev.2
- old
+ new
@@ -98,10 +98,10 @@
# Returns a pair of spec and path for a gem with RBS.
# Returns nil if the gem is not installed, or the gem doesn't provide RBS.
#
def self.gem_sig_path: (String name, String? version) -> [Gem::Specification, Pathname]?
- def each_decl: () { (AST::Declarations::t, Buffer, source, Pathname) -> void } -> void
+ def each_signature: () { (source, Pathname, Buffer, Array[AST::Declarations::t], Array[AST::Directives::t]) -> void } -> void
def each_dir: { (source, Pathname) -> void } -> void
def each_file: (Pathname path, immediate: boolish, skip_hidden: boolish) { (Pathname) -> void } -> void
end