Skip to content

Commit 9f129fe

Browse files
committed
Set %a{deprecated} to deprecated core methods
* `Process::Status#&` and `Process::Status#>>` [Bug #19868] * `String#crypt` [Feature #14915]
1 parent 5f41fb5 commit 9f129fe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/process.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,6 +1861,7 @@ class Process::Status < Object
18611861
#
18621862
# ArgumentError is raised if `mask` is negative.
18631863
#
1864+
%a{deprecated}
18641865
def &: (Integer num) -> Integer
18651866

18661867
# <!--
@@ -1893,6 +1894,7 @@ class Process::Status < Object
18931894
#
18941895
# ArgumentError is raised if `places` is negative.
18951896
#
1897+
%a{deprecated}
18961898
def >>: (Integer num) -> Integer
18971899

18981900
# <!--

core/string.rbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,7 @@ class String
15471547
# hashing algorithms, install the string-crypt gem and `require 'string/crypt'`
15481548
# to continue using it.
15491549
#
1550+
%a{deprecated}
15501551
def crypt: (string salt_str) -> String
15511552

15521553
# <!-- rdoc-file=string.c -->

0 commit comments

Comments
 (0)