sig/definition_builder.rbs in rbs-3.5.3 vs sig/definition_builder.rbs in rbs-3.6.0.dev.1
- old
+ new
@@ -114,10 +114,11 @@
def define_method: (
Hash[Symbol, Definition::Method] methods,
Definition class_definition,
MethodBuilder::Methods::Definition method_definition,
Substitution subst,
+ Hash[Symbol, Definition::Method]? self_type_methods,
defined_in: TypeName,
?implemented_in: TypeName?
) -> void
# The `interface_methods` type describes the association between the interface name to its name and the *mixin* to a module
@@ -135,10 +136,11 @@
def import_methods: (
Definition definition,
TypeName module_name,
MethodBuilder::Methods module_methods,
interface_methods interface_methods,
- Substitution subst
+ Substitution subst,
+ Hash[Symbol, Definition::Method]? self_type_methods,
) -> void
# Updates `definition` with methods and variables of `type_name` that can be a module or a class
#
# It processes includes and prepends recursively.