diff --git a/core/encoding.rbs b/core/encoding.rbs index b295f4adf..dd006c356 100644 --- a/core/encoding.rbs +++ b/core/encoding.rbs @@ -435,16 +435,6 @@ class Encoding < Object # def names: () -> ::Array[String] - # - # Returns a replicated encoding of *enc* whose name is *name*. The new encoding - # should have the same byte structure of *enc*. If *name* is used by another - # encoding, raise ArgumentError. - # - def replicate: (String name) -> Encoding - #