core/kernel.rbs in rbs-3.6.0.pre.2 vs core/kernel.rbs in rbs-3.6.0.pre.3

- old
+ new

@@ -280,11 +280,11 @@ # receiver, as #class is also a reserved word in Ruby. # # 1.class #=> Integer # self.class #=> Object # - def class: () -> class + def class: () -> Class # <!-- # rdoc-file=vm_eval.c # - eval(string [, binding [, filename [,lineno]]]) -> obj # --> @@ -2208,11 +2208,11 @@ # s2.foo #=> "foo" # # s3 = s1.dup #=> #<Klass:0x401c1084> # s3.foo #=> NoMethodError: undefined method `foo' for #<Klass:0x401c1084> # - def dup: () -> instance + def dup: () -> self # <!-- rdoc-file=enumerator.c --> # Creates a new Enumerator which will enumerate by calling `method` on `obj`, # passing `args` if any. What was *yielded* by method becomes values of # enumerator. @@ -2954,11 +2954,11 @@ # alias then yield_self private - def initialize_copy: (instance object) -> self + def initialize_copy: (self object) -> self - def initialize_clone: (instance object, ?freeze: bool?) -> self + def initialize_clone: (self object, ?freeze: bool?) -> self - def initialize_dup: (instance object) -> self + def initialize_dup: (self object) -> self end